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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/kickoff/ui
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-03-01 1:15:17
Message-ID: 1204334117.679972.27571.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 780798 by aseigo:

these pixel misses just annoy the hell out of me and i can't help but tweak them.


 M  +2 -2      itemdelegate.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/ui/itemdelegate.cpp #780797:780798
@@ -68,7 +68,7 @@
     QRect textRect = QStyle::alignedRect(option.direction,
                                          textAlignment,
                                          textSize,
-                                         contentRect.adjusted(0, 2, -6, 0));
+                                         contentRect.adjusted(4, 3, -6, 0));
     QString titleText = index.data(Qt::DisplayRole).value<QString>();
     QString subTitleText = index.data(SubTitleRole).value<QString>();
     bool uniqueTitle = !index.data(SubTitleMandatoryRole).value<bool>();// true;
@@ -113,7 +113,7 @@
 
     // draw icon
     QIcon decorationIcon = index.data(Qt::DecorationRole).value<QIcon>();
-    decorationRect.translate(5, 5);
+    decorationRect.translate(4, 4);
     if (!hover) {
       decorationRect.adjust(2, 2, -4, -4);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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