Hi,

Am 14.06.2016 um 06:40 schrieb Jürgen Frank <[email protected]>:

Also still some text is cut when using portrait orientation. 

From c8226cb8b67ec522e25b2bc36ba5cf92e9af17be Mon Sep 17 00:00:00 2001
From: "Robert C. Helling" <[email protected]>
Date: Tue, 14 Jun 2016 09:42:37 +0200
Subject: [PATCH] Not giving wrap info improves dive details on narrow screens
To: [email protected]

This prevents label text from overlapping.

Signed-off-by: Robert C. Helling <[email protected]>
---
 mobile-widgets/qml/DiveDetailsView.qml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mobile-widgets/qml/DiveDetailsView.qml 
b/mobile-widgets/qml/DiveDetailsView.qml
index 5e9fd5b..fda0db9 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -183,7 +183,6 @@ Item {
 
                Kirigami.Label {
                        text: qsTr("Water Temp:")
-                       wrapMode: Text.WrapAtWordBoundaryOrAnywhere
                        opacity: 0.6
                        width: detailsView.col3Width
                        Layout.alignment: Qt.AlignRight
@@ -197,7 +196,6 @@ Item {
 
                Kirigami.Label {
                        text: qsTr("Dive Master:")
-                       wrapMode: Text.WrapAtWordBoundaryOrAnywhere
                        opacity: 0.6
                        width: detailsView.col1Width
                        Layout.alignment: Qt.AlignRight
-- 
2.7.4 (Apple Git-66)


This patch seems to improve things for me. Please try.

Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to