diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-01-02 19:39:27 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-03 13:56:01 -0800 |
commit | e47878cbce240473eb084ec2391b09ce353f7732 (patch) | |
tree | 4a9b85c1f2ce2a617d3cddb5fc891b5eb9efae84 /stats | |
parent | 5ab8c8308bce2d1f81940a5d672098021c3725e6 (diff) | |
download | subsurface-e47878cbce240473eb084ec2391b09ce353f7732.tar.gz |
statistics: charts drop down looks better with smaller icons
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'stats')
-rw-r--r-- | stats/chartlistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |