Commit ae04fb80 authored by Don Gagne's avatar Don Gagne

Fix text

parent fddfacd9
......@@ -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 {
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")
}
}
}
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