|
|
|
@ -64,15 +64,17 @@ Rectangle {
@@ -64,15 +64,17 @@ Rectangle {
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
width: modeLabel.width |
|
|
|
|
height: modeLabel.contentHeight |
|
|
|
|
height: channelCombo.height |
|
|
|
|
color: modeSelected ? _qgcPal.buttonHighlight : _qgcPal.button |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
id: modeLabel |
|
|
|
|
width: ScreenTools.defaultFontPixelWidth * 18 |
|
|
|
|
anchors.top: parent.top |
|
|
|
|
anchors.bottom: parent.bottom |
|
|
|
|
color: modeSelected ? _qgcPal.buttonHighlightText : _qgcPal.text |
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
font.pixelSize: ScreenTools.mediumFontPixelSize |
|
|
|
|
verticalAlignment: Text.AlignVCenter |
|
|
|
|
text: flightModeName |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|