QML UI: fix layout of Download page
The info text from the download process wasn't rendered correctly. maximumWidth ended being a recursive reference and as a result the text would render as very narrow and super-tall field. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ef17c78e23
commit
478b5de9e7
@ -209,7 +209,7 @@ Kirigami.Page {
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.maximumWidth: parent.width - download.width - quitbutton.width - rescanbutton.width
|
||||
Layout.fillWidth: true
|
||||
text: divesDownloaded ? qsTr(" Downloaded dives") :
|
||||
(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : btMessage)
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user