aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2019-08-23 15:21:15 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-08-23 13:36:47 +0000
commit995f09d6dc2e0d9b1e9ed3c3429ca07ed2a155ce (patch)
treea56d33eda0f0c8c30890320949b634739d8eea88 /share/qtcreator
parent4ff0ee4ab11ab1254a8351fc3a77c69b107c3eff (diff)
QmlDesigner: Set reasonable padding range
Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/PaddingSection.qml20
1 files changed, 10 insertions, 10 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/PaddingSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/PaddingSection.qml
index 262e512f86..de4bf9605b 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/PaddingSection.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/PaddingSection.qml
@@ -45,8 +45,8 @@ Section {
width: 42
}
SpinBox {
- maximumValue: 9999999
- minimumValue: -9999999
+ maximumValue: 10000
+ minimumValue: -10000
decimals: 0
backendValue: backendValues.topPadding
Layout.fillWidth: true
@@ -62,8 +62,8 @@ Section {
width: 42
}
SpinBox {
- maximumValue: 9999999
- minimumValue: -9999999
+ maximumValue: 10000
+ minimumValue: -10000
decimals: 0
backendValue: backendValues.bottomPadding
Layout.fillWidth: true
@@ -80,8 +80,8 @@ Section {
width: 42
}
SpinBox {
- maximumValue: 9999999
- minimumValue: -9999999
+ maximumValue: 10000
+ minimumValue: -10000
decimals: 0
backendValue: backendValues.leftPadding
Layout.fillWidth: true
@@ -97,8 +97,8 @@ Section {
width: 42
}
SpinBox {
- maximumValue: 9999999
- minimumValue: -9999999
+ maximumValue: 10000
+ minimumValue: -10000
decimals: 0
backendValue: backendValues.rightPadding
Layout.fillWidth: true
@@ -111,8 +111,8 @@ Section {
}
SecondColumnLayout {
SpinBox {
- maximumValue: 9999999
- minimumValue: -9999999
+ maximumValue: 10000
+ minimumValue: -10000
decimals: 0
backendValue: backendValues.padding
Layout.fillWidth: true