Commit 6bdd7e5b authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4681 from mavlink/modeIndicator

Fix mode indicator vertical alignment.
parents 6ca27fec bae9432b
......@@ -19,7 +19,11 @@ import QGroundControl.Palette 1.0
//-------------------------------------------------------------------------
//-- Mode Indicator
QGCLabel {
Item {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: flightModeSelector.width
QGCLabel {
id: flightModeSelector
text: activeVehicle ? activeVehicle.flightMode : qsTr("N/A", "No data to display")
font.pointSize: ScreenTools.mediumFontPointSize
......@@ -60,4 +64,5 @@ QGCLabel {
anchors.fill: parent
onClicked: flightModesMenu.popup()
}
}
}
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