aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2016-04-08 07:08:08 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2016-04-10 12:41:38 +0000
commit0e90ae0070be8e71551cc63fc96ac9400a3e327c (patch)
tree18362a08531ff12990ca832b83746083f3304f7d /examples
parent94f9ab22c1157076cfdb5d5c945a7148e222d6cb (diff)
gallery: Add vertical slider to RangeSliderPage
Change-Id: I42a68accfbc493b1047a473ab786fe5d417b2265 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/controls/gallery/pages/RangeSliderPage.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/controls/gallery/pages/RangeSliderPage.qml b/examples/controls/gallery/pages/RangeSliderPage.qml
index c41097df..dd7bd880 100644
--- a/examples/controls/gallery/pages/RangeSliderPage.qml
+++ b/examples/controls/gallery/pages/RangeSliderPage.qml
@@ -64,5 +64,13 @@ Pane {
width: itemWidth
anchors.horizontalCenter: parent.horizontalCenter
}
+
+ RangeSlider {
+ orientation: Qt.Vertical
+ first.value: 0.25
+ second.value: 0.75
+ height: itemWidth
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
}
}