summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-09-16 19:42:11 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2010-09-16 19:42:11 (GMT)
commit7906b9295cde6305c3fda811b3c9b1cacdbad3fe (patch)
treeec1b2ba794dbbe56d52756595c855e75f44c5149
parent45851a64ead74748d6b5045066545ee2c95d83f6 (diff)
downloadQt-7906b9295cde6305c3fda811b3c9b1cacdbad3fe.zip
Qt-7906b9295cde6305c3fda811b3c9b1cacdbad3fe.tar.gz
Qt-7906b9295cde6305c3fda811b3c9b1cacdbad3fe.tar.bz2
Make dialcontrol.qml usable on highres capacitive screen
-rw-r--r--examples/declarative/ui-components/dialcontrol/dialcontrol.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/ui-components/dialcontrol/dialcontrol.qml b/examples/declarative/ui-components/dialcontrol/dialcontrol.qml
index 56de2f6..ed8c7d6 100644
--- a/examples/declarative/ui-components/dialcontrol/dialcontrol.qml
+++ b/examples/declarative/ui-components/dialcontrol/dialcontrol.qml
@@ -83,6 +83,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
+ anchors.margins: -16 // Increase mouse area a lot outside the slider
drag.target: parent; drag.axis: Drag.XAxis
drag.minimumX: 2; drag.maximumX: container.width - 32
}