summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-08-30 09:29:42 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-09-02 05:44:21 +0000
commit271d1efc13d4534830e37fd12fa6202981da723c (patch)
tree33f6d09af9f01782cf798c1a57ce11f8acd83596
parent436e2b758d9aa5c6813cf5c709fa00a9a4486795 (diff)
downloadqtquickcontrols-271d1efc13d4534830e37fd12fa6202981da723c.tar.gz
TumblerStyle: deprecate spacing property
Not only was this unused, but the idea doesn't make sense for Tumbler, which is internally based on PathView. Having gaps between delegates in a PathView means that there will be areas where the user cannot "flick" the Tumbler. The height of the tumbler can be increased and/or visibleItemCount can be decreased in order to achieve larger spacing between text. [ChangeLog][Styles][TumblerStyle] Deprecated unused spacing property. Task-number: QTBUG-55289 Change-Id: Ieadaac8678642d747820b201598745c7e099ead4 Reviewed-by: J-P Nurmi <jpnurmi@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r--src/controls/Styles/Base/TumblerStyle.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/Styles/Base/TumblerStyle.qml b/src/controls/Styles/Base/TumblerStyle.qml
index 4228c6f1..c70aea6c 100644
--- a/src/controls/Styles/Base/TumblerStyle.qml
+++ b/src/controls/Styles/Base/TumblerStyle.qml
@@ -77,7 +77,11 @@ Style {
readonly property Tumbler control: __control
/*!
+ \obsolete
+
This property holds the spacing between each delegate.
+
+ This property has no effect.
*/
property real spacing: 0