summaryrefslogtreecommitdiff
path: root/source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff')
-rw-r--r--source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff b/source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff
new file mode 100644
index 00000000..811f922e
--- /dev/null
+++ b/source/kde/kdebase-runtime/kdebase-runtime-text-render-969192.diff
@@ -0,0 +1,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