summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2014-09-08 12:35:52 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2014-09-08 15:45:04 +0200
commit34fb3d6a5ab0f0be488a1f0a7cc17d86d66ba4e0 (patch)
tree15ea87f5b63bf619d1a4a5770187068963268b6e
parentbfdbd9c1cbba7eaf96ef276e0671e676fb5c6e39 (diff)
downloadqt-creator-34fb3d6a5ab0f0be488a1f0a7cc17d86d66ba4e0.tar.gz
QmlDesigner.PropertyEditor: Change step size for reals
the default step size of 1 does not make much sense for reals. Task-number: QTCREATORBUG-12985 Change-Id: I28be2ca8de37f1032e8fbbe785913ae5a8f6be33 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template
index 5975c382bc..4377c8a16e 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template
@@ -6,6 +6,7 @@ SpinBox {
maximumValue: 9999999
minimumValue: -9999999
decimals: 2
+ stepSize: 0.1
backendValue: backendValues.%2
Layout.fillWidth: true
Layout.maximumWidth: 100