Commit ad7c55c5 authored by Jacob Walser's avatar Jacob Walser

Use wordwrap on vehicle values

parent d7e1b707
...@@ -82,7 +82,7 @@ Column { ...@@ -82,7 +82,7 @@ Column {
QGCLabel { QGCLabel {
width: parent.width width: parent.width
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
fontSizeMode: Text.HorizontalFit wrapMode: Text.WordWrap
text: fact.shortDescription + (fact.units ? " (" + fact.units + ")" : "") text: fact.shortDescription + (fact.units ? " (" + fact.units + ")" : "")
} }
QGCLabel { QGCLabel {
...@@ -105,9 +105,9 @@ Column { ...@@ -105,9 +105,9 @@ Column {
QGCLabel { QGCLabel {
width: parent.width width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.pointSize: ScreenTools.isTinyScreen ? ScreenTools.smallFontPointSize * 0.75 : ScreenTools.smallFontPointSize font.pointSize: ScreenTools.isTinyScreen ? ScreenTools.smallFontPointSize * 0.75 : ScreenTools.smallFontPointSize
fontSizeMode: Text.HorizontalFit
text: fact.shortDescription text: fact.shortDescription
} }
QGCLabel { QGCLabel {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment