diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-18 00:43:02 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-18 00:43:02 (GMT) |
commit | 8f5e72298fc4b8a5838bee1291a2cc422750b6b8 (patch) | |
tree | f7a780127d327c879cb642b8a23c44f081c71556 /demos | |
parent | 41335c52ef2844589030cddb4773c68cf38331af (diff) | |
download | Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.zip Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.gz Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.bz2 |
MouseRegion API changes following review.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/flickr/content/Slider.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/Slider.qml b/demos/declarative/flickr/content/Slider.qml index 51385bc..a2ec420 100644 --- a/demos/declarative/flickr/content/Slider.qml +++ b/demos/declarative/flickr/content/Slider.qml @@ -29,7 +29,7 @@ Item { MouseRegion { anchors.fill: parent; drag.target: parent - drag.axis: "x"; drag.xmin: 2; drag.xmax: Slider.xMax+2 + drag.axis: "x"; drag.minimumX: 2; drag.maximumX: Slider.xMax+2 onPositionChanged: { value = (maximum - minimum) * (Handle.x-2) / Slider.xMax + minimum; } } } |