mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: Download from DC: move label next to buttons
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
442ba66822
commit
be8eedb773
1 changed files with 10 additions and 6 deletions
|
@ -169,6 +169,10 @@ Kirigami.Page {
|
|||
}
|
||||
|
||||
RowLayout {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: Kirigami.Units.smallSpacing
|
||||
spacing: Kirigami.Units.smallSpacing
|
||||
Button {
|
||||
id: download
|
||||
background: Rectangle {
|
||||
|
@ -210,12 +214,12 @@ Kirigami.Page {
|
|||
manager.appendTextToLog("exit DCDownload screen")
|
||||
}
|
||||
}
|
||||
}
|
||||
Kirigami.Label {
|
||||
Layout.maximumWidth: diveComputerDownloadWindow.width - Kirigami.Units.gridUnit * 2
|
||||
text: divesDownloaded ? qsTr(" Downloaded dives") :
|
||||
(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : qsTr(" No dives"))
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
Kirigami.Label {
|
||||
Layout.maximumWidth: parent.width - download.width - quitbutton.width
|
||||
text: divesDownloaded ? qsTr(" Downloaded dives") :
|
||||
(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : qsTr(" No dives"))
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
|
|
Loading…
Reference in a new issue