From 339ff4f2591d41edbab7209ce3d03bf1bd8c8589 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Tue, 8 Dec 2015 03:11:19 +0100 Subject: Fix page margins in preferences and cloudcredentials MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - page margins are gridUnit / 2, consistent with other pages - Simplify layout: we don't need to nest that much here, saves two objects and simplifies code a bit Signed-off-by: Sebastian Kügler --- qt-mobile/qml/CloudCredentials.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qt-mobile/qml/CloudCredentials.qml') diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index aa85f1fa5..cd82444fc 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -16,8 +16,11 @@ Item { property bool issave: savePassword.checked; ColumnLayout { - anchors.fill: parent - anchors.margins: MobileComponents.Units.gridUnit + + anchors { + fill: parent + margins: MobileComponents.Units.gridUnit / 2 + } MobileComponents.Heading { text: "Cloud credentials" -- cgit v1.2.3-70-g09d2