Browse Source

Use wordwrap on vehicle values

QGC4.4
Jacob Walser 8 years ago
parent
commit
ad7c55c5f8
  1. 4
      src/FlightMap/Widgets/ValuePageWidget.qml

4
src/FlightMap/Widgets/ValuePageWidget.qml

@ -82,7 +82,7 @@ Column { @@ -82,7 +82,7 @@ Column {
QGCLabel {
width: parent.width
horizontalAlignment: Text.AlignHCenter
fontSizeMode: Text.HorizontalFit
wrapMode: Text.WordWrap
text: fact.shortDescription + (fact.units ? " (" + fact.units + ")" : "")
}
QGCLabel {
@ -105,9 +105,9 @@ Column { @@ -105,9 +105,9 @@ Column {
QGCLabel {
width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
font.pointSize: ScreenTools.isTinyScreen ? ScreenTools.smallFontPointSize * 0.75 : ScreenTools.smallFontPointSize
fontSizeMode: Text.HorizontalFit
text: fact.shortDescription
}
QGCLabel {

Loading…
Cancel
Save