don't set the size policy to be fixed
BUG:181241 svn path=/trunk/KDE/kdelibs/; revision=1125260
This commit is contained in:
parent
a6991a8417
commit
d1263e7096
@ -210,7 +210,7 @@ void MeterPrivate::setSizePolicyAndPreferredSize()
|
|||||||
{
|
{
|
||||||
switch (meterType) {
|
switch (meterType) {
|
||||||
case Meter::BarMeterHorizontal:
|
case Meter::BarMeterHorizontal:
|
||||||
meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
|
||||||
break;
|
break;
|
||||||
case Meter::BarMeterVertical:
|
case Meter::BarMeterVertical:
|
||||||
meter->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
|
meter->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
|
||||||
|
Loading…
Reference in New Issue
Block a user