diff options
author | Henning Gruendl <henning.gruendl@qt.io> | 2019-09-02 17:33:23 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-09-03 09:12:29 +0000 |
commit | 428d8f03079a531c45cc3dfb79b58e307aa12ffd (patch) | |
tree | 96a602a081f4fb46d5fa95e3b146ca5acfede9b3 /share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml | |
parent | 489c9b2e58de5d819302d73bf8d28abd65f251be (diff) |
QmlDesigner: PropertyEditor cleanup
* Adapt SpinBox ranges and decimals
* Add missing qsTr() to labels
Change-Id: If85999a22778b6f61e30f7437905354884086596
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml index 153d7cb27b..63b8f8702b 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/MarginSection.qml @@ -45,8 +45,8 @@ Section { width: 42 } SpinBox { - maximumValue: 9999999 - minimumValue: -9999999 + minimumValue: -10000 + maximumValue: 10000 decimals: 0 backendValue: backendValues.topMargin Layout.fillWidth: true @@ -62,8 +62,8 @@ Section { width: 42 } SpinBox { - maximumValue: 9999999 - minimumValue: -9999999 + minimumValue: -10000 + maximumValue: 10000 decimals: 0 backendValue: backendValues.bottomMargin Layout.fillWidth: true @@ -80,8 +80,8 @@ Section { width: 42 } SpinBox { - maximumValue: 9999999 - minimumValue: -9999999 + minimumValue: -10000 + maximumValue: 10000 decimals: 0 backendValue: backendValues.leftMargin Layout.fillWidth: true @@ -97,8 +97,8 @@ Section { width: 42 } SpinBox { - maximumValue: 9999999 - minimumValue: -9999999 + minimumValue: -10000 + maximumValue: 10000 decimals: 0 backendValue: backendValues.rightMargin Layout.fillWidth: true @@ -111,8 +111,8 @@ Section { } SecondColumnLayout { SpinBox { - maximumValue: 9999999 - minimumValue: -9999999 + minimumValue: -10000 + maximumValue: 10000 decimals: 0 backendValue: backendValues.margins Layout.fillWidth: true |