summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-27 19:10:58 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-27 19:10:58 -0500
commit46703737315e6ef6d896ee6388ca1c46661a57b7 (patch)
tree9522ce6243c6e95a9e445a7bb8ae885d04d4980e /qt-mobile
parenta4977f2a908934c1654a195826dc6b21575c2a19 (diff)
downloadsubsurface-46703737315e6ef6d896ee6388ca1c46661a57b7.tar.gz
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>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/StartPage.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qml/StartPage.qml b/qt-mobile/qml/StartPage.qml
index 3a60d0a66..9ce321438 100644
--- a/qt-mobile/qml/StartPage.qml
+++ b/qt-mobile/qml/StartPage.qml
@@ -21,6 +21,7 @@ ColumnLayout {
id: explanationText
Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit
+ Layout.topMargin: 0
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)."
wrapMode: Text.WordWrap
@@ -29,6 +30,7 @@ ColumnLayout {
id: messageArea
Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit
+ Layout.topMargin: 0
text: manager.startPageText
wrapMode: Text.WordWrap
}
@@ -36,7 +38,7 @@ ColumnLayout {
id: cloudCredentials
Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit
- Layout.topMargin: MobileComponents.Units.gridUnit * 2
+ Layout.topMargin: 0
property int headingLevel: 3
}
}