summaryrefslogtreecommitdiffstats
path: root/examples/declarative/slideswitch/display.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/slideswitch/display.qml')
-rw-r--r--examples/declarative/slideswitch/display.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/declarative/slideswitch/display.qml b/examples/declarative/slideswitch/display.qml
new file mode 100644
index 0000000..b62422c
--- /dev/null
+++ b/examples/declarative/slideswitch/display.qml
@@ -0,0 +1,3 @@
+<Rect color="white" width="150" height="150">
+ <Switch anchors.centeredIn="{parent}"/>
+</Rect>