diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 21:09:33 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 21:10:51 -0800 |
commit | 5952b09b51b84fa1367a8013e1d5df4cb46e2c5d (patch) | |
tree | f91751c430331ab00efdc462dd738af7a61694c8 /qt-mobile/qml/StartPage.qml | |
parent | ae116c5bc80f152f4eb5061252f52e70903398c6 (diff) | |
download | subsurface-5952b09b51b84fa1367a8013e1d5df4cb46e2c5d.tar.gz |
QML UI: use action button and Android back button to save / go back
This is more consistent with the rest of our UI
To make this work you once again need changes to the mobile components
that aren't upstream, yet.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/StartPage.qml')
-rw-r--r-- | qt-mobile/qml/StartPage.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/StartPage.qml b/qt-mobile/qml/StartPage.qml index 28e9006d4..3793b34e3 100644 --- a/qt-mobile/qml/StartPage.qml +++ b/qt-mobile/qml/StartPage.qml @@ -13,6 +13,8 @@ ColumnLayout { property int buttonWidth: width * 0.9 + function saveCredentials() { cloudCredentials.saveCredentials() } + MobileComponents.Heading { Layout.bottomMargin: MobileComponents.Units.largeSpacing text: "Subsurface-mobile" @@ -32,6 +34,7 @@ ColumnLayout { wrapMode: Text.WordWrap } CloudCredentials { + id: cloudCredentials Layout.fillWidth: true Layout.margins: MobileComponents.Units.gridUnit Layout.topMargin: MobileComponents.Units.gridUnit * 2 |