Browse Source

UI Tweak

QGC4.4
DonLakeFlyer 7 years ago
parent
commit
0a7a9ff06f
  1. 7
      src/AutoPilotPlugins/APM/APMPowerComponent.qml

7
src/AutoPilotPlugins/APM/APMPowerComponent.qml

@ -50,6 +50,11 @@ SetupPage { @@ -50,6 +50,11 @@ SetupPage {
property Fact vehicleCurrent: controller.vehicle.battery.current
}
Item {
height: ScreenTools.defaultFontPixelHeight
width: 1
}
QGCLabel { text: qsTr("Battery 2"); font.pointSize: ScreenTools.mediumFontPointSize }
Loader {
@ -75,7 +80,7 @@ SetupPage { @@ -75,7 +80,7 @@ SetupPage {
spacing: _margins
property real _margins: ScreenTools.defaultFontPixelHeight / 2
property bool _showAdvanced: sensorCombo.currentIndex == sensorModel.count - 1
property bool _showAdvanced: sensorCombo.currentIndex === sensorModel.count - 1
property real _fieldWidth: ScreenTools.defaultFontPixelWidth * 25
Component.onCompleted: calcSensor()

Loading…
Cancel
Save