[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/kstyles/oxygen
From:       Huynh Huu Long <long.upcase () googlemail ! com>
Date:       2009-05-17 16:13:38
Message-ID: 1242576818.440840.25551.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 969192 by huynhhuu:

Fix cropped toolbar labels
BUG: 193018
BUG: 186340


 M  +2 -1      oxygen.cpp  


--- trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp #969191: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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic