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

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/frame
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2010-01-24 16:09:41
Message-ID: 1264349381.420894.20747.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1079607 by annma:

on the desktop the picture has a too small minimum size, make it sane


 M  +2 -2      frame.cpp  


--- trunk/KDE/kdeplasma-addons/applets/frame/frame.cpp #1079606:1079607
@@ -172,7 +172,7 @@
             setMinimumSize(QSizeF(contentsRect().height()*1.33,0));
             setMaximumSize(QSizeF(contentsRect().height()*1.33,-1));
         } else {
-            int min = 22;
+            int min = 48;
             if (m_shadow) {
                 min += m_swOutline;
             }
@@ -282,7 +282,7 @@
         // The shadow is drawn from inside to the outside
         shadowRect.adjust(+shadowLines, +shadowLines, -shadowLines, -shadowLines);
 
-        // Make the path ot paint the frame in a bit smaller so it's inside the shadow
+        // Make the path to paint the frame in a bit smaller so it's inside the shadow
         frameRect.adjust(+shadowLines, +shadowLines, -shadowLines, -shadowLines);
         framePath = Plasma::PaintUtils::roundedRectangle(frameRect, roundingFactor);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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