this size policy seems to behave way better
icons aren't scaled down when taskbar fills up will backport to 4.1 BUG:164857 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848940
This commit is contained in:
parent
23839efb30
commit
14bb079e79
@ -804,7 +804,7 @@ void Applet::flushPendingConstraintsEvents()
|
||||
if ((c & Plasma::SizeConstraint || c & Plasma::FormFactorConstraint) &&
|
||||
aspectRatioMode() == Plasma::ConstrainedSquare) {
|
||||
if (formFactor() == Horizontal) {
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Maximum,QSizePolicy::Expanding));
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Fixed,QSizePolicy::Expanding));
|
||||
} else if (formFactor() == Vertical) {
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user