Replaced header style in statistics sections with classic subsections.

This commit is contained in:
23rd
2024-11-27 15:45:25 +03:00
parent 5d71286000
commit 3071daa6f3
5 changed files with 3 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ statisticsPieChartPartOffset: 8px;
statisticsChartHeaderHeight: 36px;
statisticsChartHeaderPadding: margins(2px, 0px, 0px, 10px);
statisticsHeaderTitleTextStyle: TextStyle(defaultTextStyle) {
font: font(13px);
font: font(boxFontSize semibold);
}
statisticsHeaderDatesTextStyle: TextStyle(defaultTextStyle) {
font: font(11px);

View File

@@ -43,7 +43,7 @@ void Header::paintEvent(QPaintEvent *e) {
p.fillRect(rect(), st::boxBg);
p.setPen(st::boxTextFg);
p.setPen(st::windowActiveTextFg);
_title.drawLeftElided(p, 0, 0, width(), width());
p.setPen(st::windowSubTextFg);