summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-11 05:04:12 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-11 10:04:44 -0800
commitf0a24240f1661f6b414c45b519adf9b8e276247a (patch)
tree40124a0c506ad7523fd0c385e07e97bae7579f04 /qt-mobile
parent36b089dc8c54916b6f9e1e8a9dfaaa6254afd071 (diff)
downloadsubsurface-f0a24240f1661f6b414c45b519adf9b8e276247a.tar.gz
QML UI: cloud credentials: put the two buttons side by side
That looks better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/CloudCredentials.qml46
1 files changed, 23 insertions, 23 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml
index 229c080ca..f9459b0c6 100644
--- a/qt-mobile/qml/CloudCredentials.qml
+++ b/qt-mobile/qml/CloudCredentials.qml
@@ -71,31 +71,31 @@ Item {
}
}
Item { width: MobileComponents.Units.gridUnit; height: width }
- Item {
- height: saveButton.height
- width: saveButton.width
- SubsurfaceButton {
- id: saveButton
- text: "Save"
- anchors.centerIn: parent
- onClicked: {
- manager.cloudUserName = login.text
- manager.cloudPassword = password.text
- manager.saveCloudPassword = savePassword.checked
- manager.saveCloudCredentials()
+ RowLayout {
+ Item {
+ height: saveButton.height
+ width: saveButton.width
+ SubsurfaceButton {
+ id: saveButton
+ text: "Save"
+ onClicked: {
+ manager.cloudUserName = login.text
+ manager.cloudPassword = password.text
+ manager.saveCloudPassword = savePassword.checked
+ manager.saveCloudCredentials()
+ }
}
}
- }
- Item {
- height: backButton.height
- width: backButton.width
- visible: diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID
- SubsurfaceButton {
- id: backButton
- text: "Back to dive list"
- anchors.centerIn: parent
- onClicked: {
- manager.credentialStatus = oldStatus
+ Item {
+ height: backButton.height
+ width: backButton.width
+ visible: diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID
+ SubsurfaceButton {
+ id: backButton
+ text: "Back to dive list"
+ onClicked: {
+ manager.credentialStatus = oldStatus
+ }
}
}
}