Increased size of arrow in chart point details widget.

This commit is contained in:
23rd 2023-10-22 22:46:41 +03:00 committed by John Preston
parent f93b7a60f8
commit 0788f3d7b0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);
}
}