summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-11-05 11:39:26 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-11-05 11:39:26 (GMT)
commitc13ebfd7296ca5e2c60f142b7041dd8f417de6d2 (patch)
tree43199389b9162c23a68f781a432f57aa3b82e144 /src/gui/styles
parent8513a37e7fe236cdb476236f1c8448b64f9aed28 (diff)
downloadQt-c13ebfd7296ca5e2c60f142b7041dd8f417de6d2.zip
Qt-c13ebfd7296ca5e2c60f142b7041dd8f417de6d2.tar.gz
Qt-c13ebfd7296ca5e2c60f142b7041dd8f417de6d2.tar.bz2
QProgressBar is drawn stretched in QS60Style
Style draws the ends of scrollbar as too wide, causing the themegraphic to stratch which looks horrible. Task-number: QTBUG-5445 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qs60style.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 845ab3e..0b126a6 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -831,6 +831,11 @@ QSize QS60StylePrivate::partSize(QS60StyleEnums::SkinParts part, SkinElementFlag
pixelMetric(QStyle::PM_SliderControlThickness), Qt::IgnoreAspectRatio);
break;
+ case QS60StyleEnums::SP_QgnGrafBarFrameSideL:
+ case QS60StyleEnums::SP_QgnGrafBarFrameSideR:
+ result.setWidth(pixelMetric(PM_Custom_FrameCornerWidth));
+ break;
+
case QS60StyleEnums::SP_QsnCpScrollHandleBottomPressed:
case QS60StyleEnums::SP_QsnCpScrollHandleTopPressed:
case QS60StyleEnums::SP_QsnCpScrollHandleMiddlePressed: