summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-19 18:59:02 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-19 19:30:26 +0100
commit394054ebc1713de4c5d6ac46dbcf2c20768dfdbb (patch)
tree8d8c5da83256233608062fd67d2f68b97811a74b
parente7ae749d52443d36aa2a71b27ba7093a41e25309 (diff)
downloadsubsurface-394054ebc1713de4c5d6ac46dbcf2c20768dfdbb.tar.gz
QML UI: do not overflow right margin on BT text
Trivial and cosmetics only fix. The width of the rescan button was forgotten, and this pushed the right margin to the right, causing the combo menus to overflow the right margin. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 6567f0983..4059683a1 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -229,7 +229,7 @@ Kirigami.Page {
}
Controls.Label {
- Layout.maximumWidth: parent.width - download.width - quitbutton.width
+ Layout.maximumWidth: parent.width - download.width - quitbutton.width - rescanbutton.width
text: divesDownloaded ? qsTr(" Downloaded dives") :
(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : btMessage)
wrapMode: Text.WrapAtWordBoundaryOrAnywhere