diff options
Diffstat (limited to 'examples/declarative/slideswitch/Switch.qml')
-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 { |