summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-08-13 17:38:05 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-14 13:45:06 +0200
commit079ffc92b2d248451030993b1daf423d4d217d27 (patch)
tree5418223ea195da401ca1ec047c9d2dd9fcc31bd4 /examples
parent2276c74b43f8dbcc9a355f927dc510a07c39d31d (diff)
downloadqtquickcontrols-079ffc92b2d248451030993b1daf423d4d217d27.tar.gz
Add support for drawing tick marks with base style
Before this was simply not implemented. It is still a bit unclear how we should treat stepSize == 0 as the results are somewhat undefined. Task-number: QTBUG-31261 Change-Id: I7a8b877649a945cd6cb303cc034df677b0199a90 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/controls/gallery/content/Controls.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/controls/gallery/content/Controls.qml b/examples/quick/controls/gallery/content/Controls.qml
index 3bf8191c..19251fea 100644
--- a/examples/quick/controls/gallery/content/Controls.qml
+++ b/examples/quick/controls/gallery/content/Controls.qml
@@ -117,6 +117,7 @@ Item {
value: 0.5
width: 200
tickmarksEnabled: tickmarkCheck.checked
+ stepSize: tickmarksEnabled ? 0.1 : 0
}
}
Column {