From 0a7a9ff06f46adfeccb8a22b9aabea0ad5218436 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 20 May 2018 16:14:23 -0700 Subject: [PATCH] UI Tweak --- src/AutoPilotPlugins/APM/APMPowerComponent.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/APM/APMPowerComponent.qml b/src/AutoPilotPlugins/APM/APMPowerComponent.qml index de441e6ad..3d89553f1 100644 --- a/src/AutoPilotPlugins/APM/APMPowerComponent.qml +++ b/src/AutoPilotPlugins/APM/APMPowerComponent.qml @@ -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 { 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() -- 2.22.0