diff options
Diffstat (limited to 'doc/src/snippets')
-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 } } } |