Replaced header style in statistics sections with classic subsections.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user