From ae6874b26d08e063ce75faf965db46df32f9e0e4 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 22 Feb 2017 14:45:44 +0100 Subject: [PATCH] QmlDesigner: Adjust padding Task-number: QTCREATORBUG-17770 Change-Id: I8dc0b67a365b6ef4a79d440b8fec1a8b6a5dd44a Reviewed-by: Alessandro Portale --- .../HelperWidgets/CustomSpinBoxStyle.qml | 4 ++-- .../propertyEditorQmlSources/HelperWidgets/LineEdit.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml index bdfb067640d..488634bccac 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomSpinBoxStyle.qml @@ -33,8 +33,8 @@ SpinBoxStyle { textColor: spinBox.textColor - padding.top: 3 - padding.bottom: 1 + padding.top: 2 + padding.bottom: 2 padding.right: 18 padding.left: 12 diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml index 42ff594d84a..7073d01b5f9 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml @@ -124,8 +124,8 @@ Controls.TextField { textColor: lineEdit.textColor placeholderTextColor: creatorTheme.PanelTextColorMid - padding.top: 3 - padding.bottom: 3 + padding.top: 2 + padding.bottom: 2 padding.left: 16 padding.right: lineEdit.showTranslateCheckBox ? 16 : 1 background: Rectangle {