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
@ -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…
x
Reference in New Issue
Block a user