diff --git a/src/FlightDisplay/FlightDisplayViewWidgets.qml b/src/FlightDisplay/FlightDisplayViewWidgets.qml index a0faa9a9f2e9e3701cff34366ec03c9a9988aeb6..c0a8d6005bd6366101f61851276dcd5f2c94ce93 100644 --- a/src/FlightDisplay/FlightDisplayViewWidgets.qml +++ b/src/FlightDisplay/FlightDisplayViewWidgets.qml @@ -94,7 +94,7 @@ Item { //-- Map warnings Column { anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter + anchors.top: parent.verticalCenter spacing: ScreenTools.defaultFontPixelHeight QGCLabel { @@ -114,6 +114,18 @@ Item { font.pointSize: ScreenTools.largeFontPointSize 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." + } } //-- Instrument Panel