Commit 60260223 authored by Don Gagne's avatar Don Gagne

Tweaks to Flight Mode Config visuals

parent 73b18544
...@@ -226,7 +226,7 @@ QGCView { ...@@ -226,7 +226,7 @@ QGCView {
anchors.left: parent.left anchors.left: parent.left
anchors.right: applyButton.left anchors.right: applyButton.left
text: topHelpText text: topHelpText
font.pixelSize: ScreenTools.mediumFontPixelSize font.pixelSize: ScreenTools.defaultFontPixelSize
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
} }
......
...@@ -64,15 +64,17 @@ Rectangle { ...@@ -64,15 +64,17 @@ Rectangle {
Rectangle { Rectangle {
width: modeLabel.width width: modeLabel.width
height: modeLabel.contentHeight height: channelCombo.height
color: modeSelected ? _qgcPal.buttonHighlight : _qgcPal.button color: modeSelected ? _qgcPal.buttonHighlight : _qgcPal.button
QGCLabel { QGCLabel {
id: modeLabel id: modeLabel
width: ScreenTools.defaultFontPixelWidth * 18 width: ScreenTools.defaultFontPixelWidth * 18
anchors.top: parent.top
anchors.bottom: parent.bottom
color: modeSelected ? _qgcPal.buttonHighlightText : _qgcPal.text color: modeSelected ? _qgcPal.buttonHighlightText : _qgcPal.text
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.pixelSize: ScreenTools.mediumFontPixelSize verticalAlignment: Text.AlignVCenter
text: flightModeName text: flightModeName
} }
} }
......
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