QmlDesigner: Set reasonable padding range

Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2019-08-23 15:21:15 +02:00
committed by Thomas Hartmann
parent 4ff0ee4ab1
commit 995f09d6dc

View File

@@ -45,8 +45,8 @@ Section {
width: 42 width: 42
} }
SpinBox { SpinBox {
maximumValue: 9999999 maximumValue: 10000
minimumValue: -9999999 minimumValue: -10000
decimals: 0 decimals: 0
backendValue: backendValues.topPadding backendValue: backendValues.topPadding
Layout.fillWidth: true Layout.fillWidth: true
@@ -62,8 +62,8 @@ Section {
width: 42 width: 42
} }
SpinBox { SpinBox {
maximumValue: 9999999 maximumValue: 10000
minimumValue: -9999999 minimumValue: -10000
decimals: 0 decimals: 0
backendValue: backendValues.bottomPadding backendValue: backendValues.bottomPadding
Layout.fillWidth: true Layout.fillWidth: true
@@ -80,8 +80,8 @@ Section {
width: 42 width: 42
} }
SpinBox { SpinBox {
maximumValue: 9999999 maximumValue: 10000
minimumValue: -9999999 minimumValue: -10000
decimals: 0 decimals: 0
backendValue: backendValues.leftPadding backendValue: backendValues.leftPadding
Layout.fillWidth: true Layout.fillWidth: true
@@ -97,8 +97,8 @@ Section {
width: 42 width: 42
} }
SpinBox { SpinBox {
maximumValue: 9999999 maximumValue: 10000
minimumValue: -9999999 minimumValue: -10000
decimals: 0 decimals: 0
backendValue: backendValues.rightPadding backendValue: backendValues.rightPadding
Layout.fillWidth: true Layout.fillWidth: true
@@ -111,8 +111,8 @@ Section {
} }
SecondColumnLayout { SecondColumnLayout {
SpinBox { SpinBox {
maximumValue: 9999999 maximumValue: 10000
minimumValue: -9999999 minimumValue: -10000
decimals: 0 decimals: 0
backendValue: backendValues.padding backendValue: backendValues.padding
Layout.fillWidth: true Layout.fillWidth: true