From 2693c525a4fccbf551b49fb409df747d1269772c Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Sat, 17 Feb 2024 09:13:03 +0700 Subject: [PATCH] Insure all labels wrap in the settings panel to fix UI issue on narrow screens --- src/qml/QFieldSettings.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/qml/QFieldSettings.qml b/src/qml/QFieldSettings.qml index 70ce0b19b7..dd13f0d49c 100644 --- a/src/qml/QFieldSettings.qml +++ b/src/qml/QFieldSettings.qml @@ -906,6 +906,8 @@ Page { text: qsTr("Bad accuracy below [m]") font: Theme.defaultFont color: Theme.mainTextColor + wrapMode: Text.WordWrap + Layout.fillWidth: true enabled: accuracyIndicator.checked visible: accuracyIndicator.checked Layout.leftMargin: 8 @@ -941,6 +943,8 @@ Page { text: qsTr("Excellent accuracy above [m]") font: Theme.defaultFont color: Theme.mainTextColor + wrapMode: Text.WordWrap + Layout.fillWidth: true enabled: accuracyIndicator.checked visible: accuracyIndicator.checked Layout.leftMargin: 8 @@ -1044,6 +1048,8 @@ Page { text: qsTr("Minimum number of positions collected") font: Theme.defaultFont color: Theme.mainTextColor + wrapMode: Text.WordWrap + Layout.fillWidth: true enabled: averagedPositioning.checked visible: averagedPositioning.checked Layout.leftMargin: 8 @@ -1145,6 +1151,9 @@ Page { enabled: antennaHeightActivated.checked visible: antennaHeightActivated.checked font: Theme.defaultFont + color: Theme.mainTextColor + wrapMode: Text.WordWrap + Layout.fillWidth: true textFormat: Text.RichText Layout.leftMargin: 8 }