summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>2012-05-02 15:13:06 +0200
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>2012-05-03 10:53:21 +0200
commit4af327afa4a201b4f47bb188cbde4c574d26551d (patch)
tree73afa637229593297d937d5e7b071b91bcc2ef16 /components
parent2d6fed28eb6dbdd8c172a3a734b7ee0d485d260b (diff)
downloadqtquickcontrols-4af327afa4a201b4f47bb188cbde4c574d26551d.tar.gz
Disable smooth scrolling to sharpen graphics a bit
In Qt5 everything is smooth scaled by default. This breaks a lot in desktop components so I will disable it for desktop surfaces. I also removed the paintmargins for tabs Change-Id: Ib826a171de7bfe7124cbfafc5433438bfbba8399 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
Diffstat (limited to 'components')
-rw-r--r--components/TabBar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/TabBar.qml b/components/TabBar.qml
index be1110ef..fdded5a7 100644
--- a/components/TabBar.qml
+++ b/components/TabBar.qml
@@ -85,7 +85,7 @@ Item {
hover: mousearea.containsMouse
hasFocus: tabbar.focus && selected
property bool first: index === 0
- paintMargins: tabrow.paintMargins
+ //paintMargins: tabrow.paintMargins
activeControl: tabFrame.count === 1 ? "only" : index === 0 ? "beginning" :
index === tabFrame.count-1 ? "end" : "middle"
anchors.fill: parent