Commit 6919af35 authored by Don Gagne's avatar Don Gagne

Use new warningText QGCPalette entry

parent 8867b541
......@@ -248,7 +248,7 @@ QGCView {
spacing: 10
QGCLabel {
color: "yellow"
color: palette.warningText
text: "<font color=\"yellow\">WARNING: Propellers must be removed from vehicle prior to performing ESC calibration.</font>"
}
......@@ -279,7 +279,7 @@ QGCView {
spacing: 10
QGCLabel {
color: "yellow"
color: palette.warningText
text: "<font color=\"yellow\">WARNING: Propellers must be removed from vehicle prior to performing UAVCAN ESC configuration.</font>"
}
......
......@@ -58,7 +58,7 @@ Rectangle {
QGCLabel {
width: parent.width
wrapMode: Text.WordWrap
color: setupComplete ? qgcPal.text : "red"
color: setupComplete ? qgcPal.text : qgcPal.warningText
font.pixelSize: setupComplete ? ScreenTools.defaultFontPixelSize : ScreenTools.mediumFontPixelSize
text: setupComplete ?
"Below you will find a summary of the settings for your vehicle. To the left are the setup menus for each component." :
......
......@@ -784,6 +784,7 @@ Rectangle {
id: toolBarMessage
anchors.fill: parent
wrapMode: Text.WordWrap
color: qgcPal.warningText
}
QGCButton {
......@@ -792,6 +793,7 @@ Rectangle {
anchors.topMargin: verticalMargins
anchors.top: parent.top
anchors.right: parent.right
primary: true
text: "Close Message"
onClicked: {
......
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