summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml16
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 {