@ -94,7 +94,7 @@ Item {
/ / - - M a p w a r n i n g s
/ / - - M a p w a r n i n g s
Column {
Column {
anchors.horizontalCenter: parent . horizontalCenter
anchors.horizontalCenter: parent . horizontalCenter
anchors.verticalCenter: parent . verticalCenter
anchors.top: parent . verticalCenter
spacing: ScreenTools . defaultFontPixelHeight
spacing: ScreenTools . defaultFontPixelHeight
QGCLabel {
QGCLabel {
@ -114,6 +114,18 @@ Item {
font.pointSize: ScreenTools . largeFontPointSize
font.pointSize: ScreenTools . largeFontPointSize
text: _activeVehicle ? _activeVehicle . prearmError : ""
text: _activeVehicle ? _activeVehicle . prearmError : ""
}
}
QGCLabel {
anchors.horizontalCenter: parent . horizontalCenter
visible: _activeVehicle && _activeVehicle . prearmError
width: ScreenTools . defaultFontPixelWidth * 50
horizontalAlignment: Text . AlignHCenter
wrapMode: Text . WordWrap
z: QGroundControl . zOrderTopMost
color: mapPal . text
font.pointSize: ScreenTools . largeFontPointSize
text: "The vehicle has failed a pre-arm check. In order to arm the vehicle, resolve the failure or disable the arming check via the Safety tab on the Vehicle Setup page."
}
}
}
/ / - - I n s t r u m e n t P a n e l
/ / - - I n s t r u m e n t P a n e l