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>
This commit is contained in:
Jan Mulder 2018-02-19 18:59:02 +01:00
parent e7ae749d52
commit 394054ebc1

View file

@ -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