From 394054ebc1713de4c5d6ac46dbcf2c20768dfdbb Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 19 Feb 2018 18:59:02 +0100 Subject: 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 --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2