From 995f09d6dc2e0d9b1e9ed3c3429ca07ed2a155ce Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Fri, 23 Aug 2019 15:21:15 +0200 Subject: [PATCH] QmlDesigner: Set reasonable padding range Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5 Reviewed-by: Thomas Hartmann --- .../imports/HelperWidgets/PaddingSection.qml | 20 +++++++++---------- 1 file 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 262e512f86b..de4bf9605b0 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