[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/quicklaunch
From: Emil Ljungdahl <emil () kratern ! se>
Date: 2008-04-05 15:33:10
Message-ID: 1207409590.477156.26291.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 793910 by eljungdahl:
Fixed resize on constraintsUpdated
M +4 -5 quicklaunchApplet.cpp
--- trunk/playground/base/plasma/applets/quicklaunch/quicklaunchApplet.cpp #793909:793910
@@ -144,12 +144,11 @@
}
}
-void QuicklaunchApplet::constraintsUpdated(Plasma::Constraints /*constraints*/)
+void QuicklaunchApplet::constraintsUpdated(Plasma::Constraints constraints)
{
- //if (formFactor() == Plasma::Horizontal || formFactor() == Plasma::Vertical)
- //{
- // setContentSize(containment()->sizeHint().height(), 32 * (m_visibleIcons + 1));
- //}
+ if (constraints & Plasma::SizeConstraint) {
+ refactorUi();
+ }
}
void QuicklaunchApplet::refactorUi()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic