summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-30 01:57:29 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2015-11-30 02:43:40 +0100
commit6381c2eb2a79be8ca799f65c0b69a894292a8be6 (patch)
tree9f4974515f5d94e68229c5d66e01d7257a875404
parent5f40ac6da3b7550aacc3b80a594ffc18c03f9efa (diff)
downloadsubsurface-6381c2eb2a79be8ca799f65c0b69a894292a8be6.tar.gz
improve preferences layout
- 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 <sebas@kde.org>
-rw-r--r--qt-mobile/qml/Preferences.qml11
1 files changed, 5 insertions, 6 deletions
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
}