Fixed scaling bug on userinfopanel when on desktop
authorKaj Wallin <kaj.wallin@ixonos.com>
Wed, 19 May 2010 05:00:25 +0000 (08:00 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Wed, 19 May 2010 05:00:25 +0000 (08:00 +0300)
Reviewed by: Henri Lampela

debian/changelog
src/ui/userpanel.cpp

index db83536..eafb800 100644 (file)
@@ -2,7 +2,7 @@ situare (0.4-1) unstable; urgency=low
   * Initial pre-alpha release
     Basic functionality is completely usable. Usability might not be top notch and many feature will be added or changed
 
- -- Kaj Wallin <kaj.wallin@ixonos.com>  Wed, 12 May 2010 13:51:00 +0300
+ -- Kaj Wallin <kaj.wallin@ixonos.com>  Wed, 18 May 2010 14:00:00 +0300
 
 situare (0.1-1) unstable; urgency=low
 
index 05ecf40..031a598 100644 (file)
@@ -102,6 +102,6 @@ void UserInfoPanel::reDrawUserPanel(int width, int height)
 {
     qDebug() << __PRETTY_FUNCTION__;
     Q_UNUSED(width);
-    m_panelBase->resize(USERPANEL_WIDTH, height + MARGIN_CORRECTION);
-    resize(USERPANEL_WIDTH + SLIDINGBAR_WIDTH,height + MARGIN_CORRECTION);
+    m_panelBase->resize(USERPANEL_WIDTH, SLIDINGBAR_HEIGHT + MARGIN_CORRECTION);
+    resize(USERPANEL_WIDTH + SLIDINGBAR_WIDTH,SLIDINGBAR_HEIGHT + MARGIN_CORRECTION);
 }