From d1263e7096de9acf31205d207556206781fd18ba Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 11 May 2010 04:02:00 +0000 Subject: [PATCH] don't set the size policy to be fixed BUG:181241 svn path=/trunk/KDE/kdelibs/; revision=1125260 --- widgets/meter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/meter.cpp b/widgets/meter.cpp index c36ed028b..7daaf83f3 100644 --- a/widgets/meter.cpp +++ b/widgets/meter.cpp @@ -210,7 +210,7 @@ void MeterPrivate::setSizePolicyAndPreferredSize() { switch (meterType) { case Meter::BarMeterHorizontal: - meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); + meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); break; case Meter::BarMeterVertical: meter->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);