Improve TopBar and login window layout

This provides a bit more spacing around the logo and aligns the text to
the bottom of the logo, rather than to its horizontal center. Looks
cleaner.

Text in the login page is now aligned towards the inputs, giving a
closer connection between label and widget.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Sebastian Kügler 2015-11-07 03:32:37 +01:00 committed by Dirk Hohndel
parent 09b7ebf28b
commit ff82d1cc15
2 changed files with 34 additions and 17 deletions

View file

@ -20,14 +20,15 @@ Item {
anchors.margins: units.gridUnit
Label {
text: "Enter your Subsurface cloud credentials"
text: "Cloud credentials"
Layout.bottomMargin: units.largeSpacing
font.pointSize: units.titlePointSize
Layout.columnSpan: 2
}
Label {
text: "Email Address:"
text: "Email Address"
Layout.alignment: Qt.AlignRight
}
TextField {
@ -38,6 +39,7 @@ Item {
Label {
text: "Password"
Layout.alignment: Qt.AlignRight
}
TextField {
@ -49,6 +51,7 @@ Item {
Label {
text: "Show password"
Layout.alignment: Qt.AlignRight
}
CheckBox {