mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
5f40ac6da3
commit
6381c2eb2a
1 changed files with 5 additions and 6 deletions
|
@ -20,10 +20,9 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: MobileComponents.Units.gridUnit
|
anchors.margins: MobileComponents.Units.gridUnit
|
||||||
|
|
||||||
Label {
|
MobileComponents.Heading {
|
||||||
text: "Cloud credentials"
|
text: "Cloud credentials"
|
||||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2
|
||||||
font.pointSize: subsurfaceTheme.titlePointSize
|
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,10 +72,10 @@ Item {
|
||||||
id: savePassword
|
id: savePassword
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
MobileComponents.Heading {
|
||||||
text: "Subsurface GPS data webservice"
|
text: "Subsurface GPS data webservice"
|
||||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
Layout.topMargin: MobileComponents.Units.largeSpacing
|
||||||
font.pointSize: subsurfaceTheme.titlePointSize
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue