diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml index c0caf712366..24efb295897 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml @@ -46,6 +46,7 @@ QWidget { //This is a special doubleSpinBox that does color coding for states property alias text: label.text property bool alignRight: true property bool enabled: true + property alias decimals: box.decimals minimumHeight: 22; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml index 741902affe6..74c6ed72e73 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml @@ -87,6 +87,7 @@ GroupBox { DoubleSpinBox { text: "" + decimals: 2 id: opacitySpinBox; backendValue: backendValues.opacity property variant backendValueValue: backendValues.opacity.value;