summaryrefslogtreecommitdiff
path: root/source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff
blob: 811f922e32258278860367e97de40327571b23d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp
===================================================================
--- trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp	(revision 969191)
+++ trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp	(revision 969192)
@@ -3067,7 +3067,8 @@
 
             if (const QStyleOptionToolButton* tbOpt = qstyleoption_cast<const QStyleOptionToolButton*>(option)) {
                 if ((!tbOpt->icon.isNull()) && (!tbOpt->text.isEmpty()) && tbOpt->toolButtonStyle == Qt::ToolButtonTextUnderIcon)
-                    size.setHeight(size.height()-9);
+                    // TODO: Make this font size dependent
+                    size.setHeight(size.height()-5);
             }
 
             // We want to avoid super-skiny buttons, for things like "up" when icons + text