diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-03-25 11:36:49 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-03-25 11:36:49 (GMT) |
commit | 823788031ec0f929d74573d296145c7bd48f6fd6 (patch) | |
tree | 9185058dc7dc5963b9a165bc04643af357938f20 /src/gui/styles/qs60style_simulated.cpp | |
parent | e85158100e61b18cf7cd8a37417c9351aa1e70a3 (diff) | |
download | Qt-823788031ec0f929d74573d296145c7bd48f6fd6.zip Qt-823788031ec0f929d74573d296145c7bd48f6fd6.tar.gz Qt-823788031ec0f929d74573d296145c7bd48f6fd6.tar.bz2 |
QTabWidget tabs are resized in wrong way when device rotates
This used to work so that, style would check from actual AVKON
component (navipane) what its size is. Unfortunately, Qt was later
changed so that screen furniture is only created on-demand and thus
asking navipane's size started to fail. Which lead to situation that
tab size would "grow" after navipane was created and tabbar
was re-drawn.
As a fix, correct the pixel metrics with correct values for nHD
and remove size query from native component. The other pixel metrics
for other layouts were correct.
Task-number: QTBUG-16984
Reviewed-by: Tomi Vihria
Diffstat (limited to 'src/gui/styles/qs60style_simulated.cpp')
-rw-r--r-- | src/gui/styles/qs60style_simulated.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/styles/qs60style_simulated.cpp b/src/gui/styles/qs60style_simulated.cpp index 7223c6b..a5aeac3 100644 --- a/src/gui/styles/qs60style_simulated.cpp +++ b/src/gui/styles/qs60style_simulated.cpp @@ -318,11 +318,6 @@ QPixmap QS60StylePrivate::backgroundTexture(bool /*skipCreation*/) return *m_background; } -QSize QS60StylePrivate::naviPaneSize() -{ - return QSize(0, 0); -} - bool QS60StylePrivate::isTouchSupported() { #ifdef QT_KEYPAD_NAVIGATION |