summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-25 05:00:05 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-25 05:00:05 (GMT)
commit03de177e4f4d028ac75c2100060ab5d7389d3a2c (patch)
treeef175b939b89217e42d1d49ae442f365ee490426 /examples/declarative
parent0e1883e4c4a6d5b3b14d5cf37862fee651da16d3 (diff)
downloadQt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.zip
Qt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.tar.gz
Qt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.tar.bz2
slideswitch example fixes
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/slideswitch/slideswitch.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/slideswitch/slideswitch.qml b/examples/declarative/slideswitch/slideswitch.qml
index 9b46cd1..396749f 100644
--- a/examples/declarative/slideswitch/slideswitch.qml
+++ b/examples/declarative/slideswitch/slideswitch.qml
@@ -5,7 +5,7 @@ Rectangle {
color: "white"
width: 400; height: 250
- Switch {
- anchors.centerIn: parent
- }
+//![0]
+ Switch { anchors.centerIn: parent; on: false }
+//![0]
}