diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-23 17:45:55 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-23 17:45:55 -0700 |
commit | be8eedb773347221123e4dbbf028e40a84f1233f (patch) | |
tree | 01f0c267590ff9380f5f700ec51d773ccf8d9849 /mobile-widgets/qml/DownloadFromDiveComputer.qml | |
parent | 442ba66822411c6bd994b61cc6793d202d874bb2 (diff) | |
download | subsurface-be8eedb773347221123e4dbbf028e40a84f1233f.tar.gz |
QML UI: Download from DC: move label next to buttons
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index d1176ecc4..941eb57ee 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -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 { |