From e47878cbce240473eb084ec2391b09ce353f7732 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 2 Jan 2021 19:39:27 -0800 Subject: statistics: charts drop down looks better with smaller icons Signed-off-by: Dirk Hohndel --- stats/chartlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stats') diff --git a/stats/chartlistmodel.cpp b/stats/chartlistmodel.cpp index 9ae3dae6e..ae9c71748 100644 --- a/stats/chartlistmodel.cpp +++ b/stats/chartlistmodel.cpp @@ -13,7 +13,7 @@ ChartListModel::ChartListModel() : QFontMetrics fm(itemFont); int fontHeight = fm.height(); - int iconSize = fontHeight * 3; + int iconSize = fontHeight * 2; warningPixmap = QPixmap::fromImage(renderSVGIcon(":chart-warning-icon", fontHeight, true)); initIcon(ChartSubType::Vertical, ":chart-bar-vertical-icon", iconSize); initIcon(ChartSubType::VerticalGrouped, ":chart-bar-grouped-vertical-icon", iconSize); -- cgit v1.2.3-70-g09d2