From 6381c2eb2a79be8ca799f65c0b69a894292a8be6 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Mon, 30 Nov 2015 01:57:29 +0100 Subject: improve preferences layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use the component's heading for more consistency - spacing between items: largeSpacing above, half of that below, this makes the title visually connect to the widgets it refers to. Signed-off-by: Sebastian Kügler --- qt-mobile/qml/Preferences.qml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/Preferences.qml b/qt-mobile/qml/Preferences.qml index 8cae95ff0..575474ac8 100644 --- a/qt-mobile/qml/Preferences.qml +++ b/qt-mobile/qml/Preferences.qml @@ -20,10 +20,9 @@ Item { anchors.fill: parent anchors.margins: MobileComponents.Units.gridUnit - Label { + MobileComponents.Heading { text: "Cloud credentials" - Layout.bottomMargin: MobileComponents.Units.largeSpacing - font.pointSize: subsurfaceTheme.titlePointSize + Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2 Layout.columnSpan: 2 } @@ -73,10 +72,10 @@ Item { id: savePassword } - Label { + MobileComponents.Heading { text: "Subsurface GPS data webservice" - Layout.bottomMargin: MobileComponents.Units.largeSpacing - font.pointSize: subsurfaceTheme.titlePointSize + Layout.topMargin: MobileComponents.Units.largeSpacing + Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2 Layout.columnSpan: 2 } -- cgit v1.2.3-70-g09d2