Skip to content

Commit

Permalink
Insure all labels wrap in the settings panel to fix UI issue on narro…
Browse files Browse the repository at this point in the history
…w screens
  • Loading branch information
nirvn committed Feb 17, 2024
1 parent 7cf476e commit 2693c52
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/qml/QFieldSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down

1 comment on commit 2693c52

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.