QML UI: tighten credential input screen

This way even on smaller screens both email and password should fit
above the keyboard which makes data entry so much easier.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-27 19:10:58 -05:00
parent a4977f2a90
commit 4670373731

View file

@ -21,6 +21,7 @@ ColumnLayout {
id: explanationText id: explanationText
Layout.fillWidth: true Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit Layout.margins: MobileComponents.Units.gridUnit
Layout.topMargin: 0
text: "In order to use Subsurface-mobile you need to have a Subsurface cloud storage account " + text: "In order to use Subsurface-mobile you need to have a Subsurface cloud storage account " +
"(which can be created with the Subsurface desktop application)." "(which can be created with the Subsurface desktop application)."
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
@ -29,6 +30,7 @@ ColumnLayout {
id: messageArea id: messageArea
Layout.fillWidth: true Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit Layout.margins: MobileComponents.Units.gridUnit
Layout.topMargin: 0
text: manager.startPageText text: manager.startPageText
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
} }
@ -36,7 +38,7 @@ ColumnLayout {
id: cloudCredentials id: cloudCredentials
Layout.fillWidth: true Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit Layout.margins: MobileComponents.Units.gridUnit
Layout.topMargin: MobileComponents.Units.gridUnit * 2 Layout.topMargin: 0
property int headingLevel: 3 property int headingLevel: 3
} }
} }