summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style_p.h
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-10-21 09:09:39 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-10-21 09:09:39 (GMT)
commit4b678fe08ec8de5a34d8b2ec2d9ec44276424636 (patch)
treeca4676d81d97acc67532031d18d1f52497cbbf92 /src/gui/styles/qs60style_p.h
parenta6af1538ea53408399fb29870a4ef16a92c7893a (diff)
downloadQt-4b678fe08ec8de5a34d8b2ec2d9ec44276424636.zip
Qt-4b678fe08ec8de5a34d8b2ec2d9ec44276424636.tar.gz
Qt-4b678fe08ec8de5a34d8b2ec2d9ec44276424636.tar.bz2
S60Style's tab widget is too small for touch use
TabWidget for S60Style is too small for touch use, it is rather hard to accurately touch the tabpane to switch the active tab. To fix this, we ask the native tabpane height from AVKON and set the QTabWiget's pane height to native height (or bigger). Task-number: QTBUG-4243 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qs60style_p.h')
-rw-r--r--src/gui/styles/qs60style_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style_p.h b/src/gui/styles/qs60style_p.h
index 5422ff6..8e53eee 100644
--- a/src/gui/styles/qs60style_p.h
+++ b/src/gui/styles/qs60style_p.h
@@ -460,6 +460,8 @@ public:
void handleSkinChange();
#endif // Q_WS_S60
+ static QSize naviPaneSize();
+
private:
static void drawPart(QS60StyleEnums::SkinParts part, QPainter *painter,
const QRect &rect, SkinElementFlags flags = KDefaultSkinElementFlags);