mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 18:10:35 +00:00
Increased size of arrow in chart point details widget.
This commit is contained in:
parent
f93b7a60f8
commit
0788f3d7b0
@ -17,7 +17,7 @@ statisticsChartHeight: 200px;
|
||||
|
||||
statisticsChartEntryPadding: margins(0px, 13px, 0px, 2px);
|
||||
|
||||
statisticsDetailsArrowShift: 2px;
|
||||
statisticsDetailsArrowShift: 3px;
|
||||
statisticsDetailsArrowStroke: 1.5;
|
||||
statisticsDetailsPopupMargins: margins(12px, 8px, 12px, 11px);
|
||||
statisticsDetailsPopupPadding: margins(6px, 6px, 6px, 6px);
|
||||
|
@ -429,7 +429,7 @@ void PointDetailsWidget::paintEvent(QPaintEvent *e) {
|
||||
const auto s = _arrow.size() / style::DevicePixelRatio();
|
||||
const auto x = rect::right(_textRect) - s.width();
|
||||
const auto y = _textRect.y()
|
||||
+ (_headerStyle.font->height - s.height()) / 2.;
|
||||
+ (_headerStyle.font->ascent - s.height());
|
||||
p.drawImage(x, y, _arrow);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user