Commit 8575e4c7 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Make action icons bigger

As suggested by Nigel and others, we should
use the same icon size for all the icons.
parent be5a259b
......@@ -196,14 +196,14 @@ void FancyActionBar::paintEvent(QPaintEvent *event)
QSize FancyToolButton::sizeHint() const
QSizeF buttonSize = iconSize().expandedTo(QSize(64, 36));
QSizeF buttonSize = iconSize().expandedTo(QSize(64, 38));
if (defaultAction()->property("titledAction").toBool()) {
QFont boldFont(font());
QFontMetrics fm(boldFont);
qreal lineHeight = fm.height();
buttonSize += QSizeF(0, (lineHeight*3.5));
buttonSize += QSizeF(0, (lineHeight*2.8));
return buttonSize.toSize();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment