mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
statistics: charts drop down looks better with smaller icons
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5ab8c8308b
commit
e47878cbce
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue