don't mess with size policies that the applet could have set (still do
that on square aspect ratio, that's bad but the aspectRatioMode() is kinda old cruft from pre-qgraphicswidget times.. BUG: 199921 svn path=/trunk/KDE/kdelibs/; revision=995461
This commit is contained in:
parent
dcd418a3e8
commit
b73625fbfc
@ -1146,12 +1146,6 @@ void Applet::flushPendingConstraintsEvents()
|
||||
} else if (formFactor() == Vertical) {
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
|
||||
}
|
||||
} else {
|
||||
if (formFactor() == Horizontal) {
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding));
|
||||
} else if (formFactor() == Vertical) {
|
||||
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred));
|
||||
}
|
||||
}
|
||||
updateGeometry();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user