From f2567e7028a6fcf8a6dcd7b35eea966f4fd24c79 Mon Sep 17 00:00:00 2001 From: Caroline Chao <caroline.chao@digia.com> Date: Mon, 13 May 2013 14:38:16 +0200 Subject: [PATCH] TextFieldStyle: Fix margins Change-Id: I5386e2b4af37c1dbad50740c748e953c81c85d22 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> --- src/styles/Desktop/TextFieldStyle.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/Desktop/TextFieldStyle.qml b/src/styles/Desktop/TextFieldStyle.qml index 9bb83ccf4..ae8bcc063 100644 --- a/src/styles/Desktop/TextFieldStyle.qml +++ b/src/styles/Desktop/TextFieldStyle.qml @@ -65,10 +65,10 @@ Style { property bool rounded: hints.indexOf("rounded") > -1 - property int topMargin: style === "mac" ? 4 : 5 + property int topMargin: style === "mac" ? 3 : 2 property int leftMargin: rounded ? 8 : 4 - property int rightMargin: 4 - property int bottomMargin: 1 + property int rightMargin: leftMargin + property int bottomMargin: 2 contentWidth: 100 // Form QLineEdit::sizeHint -- GitLab