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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/lock_logout
From:       Christoph Thielecke <christoph.thielecke () gmx ! de>
Date:       2009-03-19 11:04:10
Message-ID: 1237460650.441639.17891.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 941284 by crissi:

minimal size fixed


 M  +3 -3      lockout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/lock_logout/lockout.cpp #941283:941284
@@ -44,8 +44,8 @@
 #include <windows.h>
 #endif // Q_OS_WIN
 
-static const int MINBUTTONSIZE = 80;
-static const int MARGINSIZE = 2;
+static const int MINBUTTONSIZE = 10;
+static const int MARGINSIZE = 1;
 
 LockOut::LockOut(QObject *parent, const QVariantList &args)
     : Plasma::Applet(parent, args)
@@ -53,7 +53,7 @@
 #ifndef Q_OS_WIN
     setHasConfigurationInterface(true);
 #endif
-    resize(MINBUTTONSIZE, MINBUTTONSIZE * 2 + MARGINSIZE);
+    resize(MINBUTTONSIZE*4, MINBUTTONSIZE * 2 *4 + MARGINSIZE);
 }
 
 void LockOut::init()
[prev in list] [next in list] [prev in thread] [next in thread] 

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