diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2018-05-17 14:04:48 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2018-05-17 18:18:38 +0000 |
commit | 92103a25a36147f8a2c6fc692a22c4b053f95321 (patch) | |
tree | 4a3208d63d2f801e3336a995d449ed13a13af950 /share | |
parent | 319daa2612dcdd205e271cf2b4b5bf4532fad163 (diff) |
QmlDesigner: Adjust some margins and sizes
Change-Id: I9c0530b9b108277781dc937bd97cc2b7f68de122
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml | 4 | ||||
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml index aa62152eb0..c4ff04b7f1 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml @@ -65,7 +65,7 @@ Controls.TextField { } ExtendedFunctionButton { - x: 2 + x: 4 anchors.verticalCenter: parent.verticalCenter backendValue: lineEdit.backendValue visible: lineEdit.enabled && showExtendedFunctionButton @@ -127,7 +127,7 @@ Controls.TextField { padding.top: 2 padding.bottom: 2 - padding.left: 16 + padding.left: 18 padding.right: lineEdit.showTranslateCheckBox ? 16 : 1 background: Rectangle { implicitWidth: 100 diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml index 2a07b05817..cc50509cc0 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml @@ -33,8 +33,10 @@ Controls.SpinBox { property color textColor: colorLogic.textColor property variant backendValue; + implicitWidth: 74 + ExtendedFunctionButton { - x: 2 + x: 4 anchors.verticalCenter: parent.verticalCenter backendValue: spinBox.backendValue visible: spinBox.enabled @@ -59,4 +61,5 @@ Controls.SpinBox { style: CustomSpinBoxStyle { } + } |