Browse Source

Better item spacing

QGC4.4
DonLakeFlyer 4 years ago committed by Don Gagne
parent
commit
9d24ab590f
  1. 12
      src/ui/toolbar/MainStatusIndicator.qml

12
src/ui/toolbar/MainStatusIndicator.qml

@ -93,23 +93,23 @@ RowLayout {
} }
Item { Item {
width: ScreenTools.defaultFontPixelWidth Layout.preferredWidth: ScreenTools.defaultFontPixelWidth * ScreenTools.largeFontPointRatio * 1.5
height: 1 height: 1
} }
QGCColoredImage { QGCColoredImage {
id: flightModeIcon id: flightModeIcon
width: height width: ScreenTools.defaultFontPixelWidth * 2
height: ScreenTools.defaultFontPixelHeight * 0.75 height: ScreenTools.defaultFontPixelHeight * 0.75
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
mipmap: true mipmap: true
color: qgcPal.text color: qgcPal.text
source: "/qmlimages/FlightModesComponentIcon.png" source: "/qmlimages/FlightModesComponentIcon.png"
visible: _activeVehicle visible: flightModeMenu.visible
} }
Item { Item {
Layout.preferredWidth: ScreenTools.defaultFontPixelWidth * (_vehicleInAir ? ScreenTools.largeFontPointRatio : 1) / 3 Layout.preferredWidth: ScreenTools.defaultFontPixelWidth / 2
height: 1 height: 1
visible: flightModeMenu.visible visible: flightModeMenu.visible
} }
@ -124,7 +124,7 @@ RowLayout {
} }
Item { Item {
Layout.preferredWidth: ScreenTools.defaultFontPixelWidth * ScreenTools.largeFontPointRatio Layout.preferredWidth: ScreenTools.defaultFontPixelWidth * ScreenTools.largeFontPointRatio * 1.5
height: 1 height: 1
visible: vtolModeLabel.visible visible: vtolModeLabel.visible
} }

Loading…
Cancel
Save