diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/GradientPropertySpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/GradientPropertySpinBox.qml index 65b6c14c73d..07cf70265b1 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/GradientPropertySpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/GradientPropertySpinBox.qml @@ -33,13 +33,13 @@ Item { property string propertyName property alias decimals: spinBox.decimals - property alias value: spinBox.realValue - property alias minimumValue: spinBox.realFrom property alias maximumValue: spinBox.realTo property alias stepSize: spinBox.realStepSize + property alias pixelsPerUnit: spinBox.pixelsPerUnit + width: 90 implicitHeight: spinBox.height @@ -52,6 +52,8 @@ Item { StudioControls.RealSpinBox { id: spinBox + __devicePixelRatio: devicePixelRatio() + width: wrapper.width actionIndicatorVisible: false