diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-19 01:50:35 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-19 01:50:35 (GMT) |
commit | b3c992c9b53d8f1630bdbc7472a29910f11ee035 (patch) | |
tree | 7074cf1a94ee556809c2b9db8a604be3fa8e4f9e /doc/src/snippets/declarative | |
parent | 1a226c81b7461b793fb94df5817701caef9c2014 (diff) | |
download | Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.zip Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.gz Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.bz2 |
API improvements for MouseRegion and Drag
Diffstat (limited to 'doc/src/snippets/declarative')
-rw-r--r-- | doc/src/snippets/declarative/drag.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/declarative/drag.qml b/doc/src/snippets/declarative/drag.qml index 2191b6f..8b1765b 100644 --- a/doc/src/snippets/declarative/drag.qml +++ b/doc/src/snippets/declarative/drag.qml @@ -9,9 +9,9 @@ Rect { MouseRegion { anchors.fill: parent drag.target: pic - drag.axis: "x" - drag.xmin: 0 - drag.xmax: blurtest.width-pic.width + drag.axis: "XAxis" + drag.minimumX: 0 + drag.maximumX: blurtest.width-pic.width } } } |