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 /examples/declarative/slideswitch | |
parent | 1a226c81b7461b793fb94df5817701caef9c2014 (diff) | |
download | Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.zip Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.gz Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.bz2 |
API improvements for MouseRegion and Drag
Diffstat (limited to 'examples/declarative/slideswitch')
-rw-r--r-- | examples/declarative/slideswitch/Switch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/slideswitch/Switch.qml b/examples/declarative/slideswitch/Switch.qml index b5de9ec..b476be2 100644 --- a/examples/declarative/slideswitch/Switch.qml +++ b/examples/declarative/slideswitch/Switch.qml @@ -36,7 +36,7 @@ Item { anchors.fill: Knob onClicked: { toggle() } onReleased: { dorelease() } - drag.target: Knob; drag.axis: "x"; drag.minimumX: 1; drag.maximumX: 78 + drag.target: Knob; drag.axis: "XAxis"; drag.minimumX: 1; drag.maximumX: 78 } states: [ State { |