aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2016-04-07 05:22:27 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2016-04-07 16:48:13 +0000
commit323d0bdba7ff88f525ca880fa249cfc65030aa8b (patch)
treef24e4b7bb482748cc90debc7bda83c83541a9dc9 /examples
parenta57044f211dffdfac76102ec3d9d37c6f860ddd3 (diff)
gallery: Add vertical slider to SliderPage
Change-Id: I1e175917b12c5f41c2e43a5317da1220b24f296e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/controls/gallery/pages/SliderPage.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/controls/gallery/pages/SliderPage.qml b/examples/controls/gallery/pages/SliderPage.qml
index 550ccec9..c400ec41 100644
--- a/examples/controls/gallery/pages/SliderPage.qml
+++ b/examples/controls/gallery/pages/SliderPage.qml
@@ -63,5 +63,12 @@ Pane {
width: itemWidth
anchors.horizontalCenter: parent.horizontalCenter
}
+
+ Slider {
+ orientation: Qt.Vertical
+ value: 0.5
+ height: itemWidth
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
}
}