diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-11-05 11:39:26 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-11-05 11:39:26 (GMT) |
commit | c13ebfd7296ca5e2c60f142b7041dd8f417de6d2 (patch) | |
tree | 43199389b9162c23a68f781a432f57aa3b82e144 /src/gui | |
parent | 8513a37e7fe236cdb476236f1c8448b64f9aed28 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 5 |
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: |