summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/FlatButton.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/FlatButton.cc b/src/ui/FlatButton.cc

index de0bf106..e860e7d7 100644 --- a/src/ui/FlatButton.cc +++ b/src/ui/FlatButton.cc
@@ -472,11 +472,11 @@ void FlatButton::paintForeground(QPainter *painter) QRect textGeometry(pos + QPoint(0, base.height() / 2), textSize); QRect iconGeometry(pos + QPoint(0, (height() - iconSize().height()) / 2), iconSize()); - if (ui::LeftIcon == icon_placement_) { - textGeometry.translate(iw, 0); - } else { - iconGeometry.translate(textSize.width() + IconPadding, 0); - } + /* if (ui::LeftIcon == icon_placement_) { */ + /* textGeometry.translate(iw, 0); */ + /* } else { */ + /* iconGeometry.translate(textSize.width() + IconPadding, 0); */ + /* } */ painter->drawText(textGeometry, Qt::AlignCenter, text());