Browse Source

Fix text

QGC4.4
Don Gagne 9 years ago
parent
commit
ae04fb806b
  1. 14
      src/QmlControls/VehicleRotationCal.qml

14
src/QmlControls/VehicleRotationCal.qml

@ -49,7 +49,6 @@ Rectangle { @@ -49,7 +49,6 @@ Rectangle {
Rectangle {
readonly property int inset: 5
property string calText: calInProgress ? calInProgressText : (calValid ? "Completed" : "Incomplete")
x: inset
y: inset
@ -71,18 +70,7 @@ Rectangle { @@ -71,18 +70,7 @@ Rectangle {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignBottom
font.pixelSize: ScreenTools.mediumFontPixelSize
font.bold: true
color: "black"
text: parent.calText
}
QGCLabel {
width: parent.width
height: parent.height
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignBottom
font.pixelSize: ScreenTools.mediumFontPixelSize
color: calInProgress ? "yellow" : "white"
text: parent.calText
text: calInProgress ? calInProgressText : (calValid ? "Completed" : "Incomplete")
}
}
}

Loading…
Cancel
Save