aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-09 18:47:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-09 21:11:37 -0700
commit6422932c61a4674d895d054a1a60a100b1a6a18d (patch)
treeba7ce9ac6dbdddf220b00faf5605d6156d261dc0 /mobile-widgets
parent7b922a1f72f78dbe4472066a0c9ccf3f658b4202 (diff)
downloadsubsurface-6422932c61a4674d895d054a1a60a100b1a6a18d.tar.gz
QML UI: correctly wrap devinfo message
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index ce6f34d5a..c7f9de5f2 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -170,6 +170,7 @@ Kirigami.Page {
}
}
Kirigami.Label {
+ Layout.maximumWidth: diveComputerDownloadWindow.width - Kirigami.Units.gridUnit * 2
text: divesDownloaded ? qsTr(" Downloaded dives") :
(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : qsTr(" No dives"))
wrapMode: Text.WrapAtWordBoundaryOrAnywhere