mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 16:06:17 +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,13 +71,13 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Item { width: MobileComponents.Units.gridUnit; height: width }
|
Item { width: MobileComponents.Units.gridUnit; height: width }
|
||||||
|
RowLayout {
|
||||||
Item {
|
Item {
|
||||||
height: saveButton.height
|
height: saveButton.height
|
||||||
width: saveButton.width
|
width: saveButton.width
|
||||||
SubsurfaceButton {
|
SubsurfaceButton {
|
||||||
id: saveButton
|
id: saveButton
|
||||||
text: "Save"
|
text: "Save"
|
||||||
anchors.centerIn: parent
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
manager.cloudUserName = login.text
|
manager.cloudUserName = login.text
|
||||||
manager.cloudPassword = password.text
|
manager.cloudPassword = password.text
|
||||||
|
@ -93,12 +93,12 @@ Item {
|
||||||
SubsurfaceButton {
|
SubsurfaceButton {
|
||||||
id: backButton
|
id: backButton
|
||||||
text: "Back to dive list"
|
text: "Back to dive list"
|
||||||
anchors.centerIn: parent
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
manager.credentialStatus = oldStatus
|
manager.credentialStatus = oldStatus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue