diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2015-01-22 10:08:38 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2015-01-22 10:23:31 +0100 |
commit | 83c69fe6e80fd4d9e317ab2f7406e2697db4ed64 (patch) | |
tree | 15336e632e602d7829241adbbaf2d8439ad17714 | |
parent | f78479014f65f00bbd7a614c1066d90c395ff77f (diff) | |
download | qt-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.qml | 2 |
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 |