summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2015-01-22 10:08:38 +0100
committerTim Jenssen <tim.jenssen@theqtcompany.com>2015-01-22 10:23:31 +0100
commit83c69fe6e80fd4d9e317ab2f7406e2697db4ed64 (patch)
tree15336e632e602d7829241adbbaf2d8439ad17714
parentf78479014f65f00bbd7a614c1066d90c395ff77f (diff)
downloadqt-creator-83c69fe6e80fd4d9e317ab2f7406e2697db4ed64.tar.gz
QmlDesigner.PropertyEditor: Increase maximum SpinBox size
This fixes glitches for numbers > 9999. Change-Id: Ib49ff4c3a8da3caaf19b713fa309563349e48501 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml
index ecfccea4ff..02503f3fe4 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml
@@ -67,7 +67,7 @@ SpinBoxStyle {
}
background: Rectangle {
- implicitWidth: Math.max(60, styleData.contentWidth)
+ implicitWidth: Math.max(64, styleData.contentWidth)
implicitHeight: 23
border.color: borderColor
radius: 3