mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 00:06:16 +00:00
QML UI: cloud credentials: put the two buttons side by side
That looks better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
36b089dc8c
commit
f0a24240f1
1 changed files with 23 additions and 23 deletions
|
@ -71,31 +71,31 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Item { width: MobileComponents.Units.gridUnit; height: width }
|
Item { width: MobileComponents.Units.gridUnit; height: width }
|
||||||
Item {
|
RowLayout {
|
||||||
height: saveButton.height
|
Item {
|
||||||
width: saveButton.width
|
height: saveButton.height
|
||||||
SubsurfaceButton {
|
width: saveButton.width
|
||||||
id: saveButton
|
SubsurfaceButton {
|
||||||
text: "Save"
|
id: saveButton
|
||||||
anchors.centerIn: parent
|
text: "Save"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
manager.cloudUserName = login.text
|
manager.cloudUserName = login.text
|
||||||
manager.cloudPassword = password.text
|
manager.cloudPassword = password.text
|
||||||
manager.saveCloudPassword = savePassword.checked
|
manager.saveCloudPassword = savePassword.checked
|
||||||
manager.saveCloudCredentials()
|
manager.saveCloudCredentials()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
Item {
|
||||||
Item {
|
height: backButton.height
|
||||||
height: backButton.height
|
width: backButton.width
|
||||||
width: backButton.width
|
visible: diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID
|
||||||
visible: diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID
|
SubsurfaceButton {
|
||||||
SubsurfaceButton {
|
id: backButton
|
||||||
id: backButton
|
text: "Back to dive list"
|
||||||
text: "Back to dive list"
|
onClicked: {
|
||||||
anchors.centerIn: parent
|
manager.credentialStatus = oldStatus
|
||||||
onClicked: {
|
}
|
||||||
manager.credentialStatus = oldStatus
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue