mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue