Revision: 6234
Author: nogu.dev
Date: Sat Mar 6 15:42:15 2010
Log: * qt4/toolbar/applet-kde4.cpp
- (UimApplet::UimApplet): Prevent plasmoid from shrinking horizontally.
When a panel is full of widgets, the current KDE4 plasmoid shrinks,
which is an unwanted behaviour. This commit fixes the behaviour
by setting the size policy to QSizePolicy::Fixed.
http://code.google.com/p/uim/source/detail?r=6234
Modified:
/trunk/qt4/toolbar/applet-kde4.cpp
=======================================
--- /trunk/qt4/toolbar/applet-kde4.cpp Mon Dec 21 17:42:58 2009
+++ /trunk/qt4/toolbar/applet-kde4.cpp Sat Mar 6 15:42:15 2010
@@ -51,6 +51,7 @@
{
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
+ setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred));
}
void UimApplet::init()