diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-04-15 07:39:27 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-04-15 07:39:27 (GMT) |
commit | e93dd08b675029388d810eeea45e5f005642fcc9 (patch) | |
tree | 78c4ffc29b9b229f41d058ff144cc0380fd2a8e3 | |
parent | 0ebc9a600af8188e7a9d3c2904d012c6289a515d (diff) | |
download | Qt-e93dd08b675029388d810eeea45e5f005642fcc9.zip Qt-e93dd08b675029388d810eeea45e5f005642fcc9.tar.gz Qt-e93dd08b675029388d810eeea45e5f005642fcc9.tar.bz2 |
Slider graphics does not look correct in N95
The upscaling of theme graphics fails, if the original rect is taller
than upscaled graphics rect height. This makes the start and end parts
of the graphics appear as shorter then they should be.
Fixed by forcing the destrination rect height to be used after
upscaling the graphics.
Task-number: QTBUG-9854
Reviewed-by: Janne Anttila
-rw-r--r-- | src/gui/styles/qs60style.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 27913cd..3259d82 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -548,6 +548,7 @@ void QS60StylePrivate::drawRow(QS60StyleEnums::SkinParts start, startEndSize.scale(rect.size(), Qt::KeepAspectRatio); QRect startRect = QRect(rect.topLeft(), startEndSize); + startRect.setHeight(rect.height()); QRect middleRect = rect; QRect endRect; |