Commit 0a7a9ff0 authored by DonLakeFlyer's avatar DonLakeFlyer

UI Tweak

parent 5ce755c0
...@@ -50,6 +50,11 @@ SetupPage { ...@@ -50,6 +50,11 @@ SetupPage {
property Fact vehicleCurrent: controller.vehicle.battery.current property Fact vehicleCurrent: controller.vehicle.battery.current
} }
Item {
height: ScreenTools.defaultFontPixelHeight
width: 1
}
QGCLabel { text: qsTr("Battery 2"); font.pointSize: ScreenTools.mediumFontPointSize } QGCLabel { text: qsTr("Battery 2"); font.pointSize: ScreenTools.mediumFontPointSize }
Loader { Loader {
...@@ -75,7 +80,7 @@ SetupPage { ...@@ -75,7 +80,7 @@ SetupPage {
spacing: _margins spacing: _margins
property real _margins: ScreenTools.defaultFontPixelHeight / 2 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 property real _fieldWidth: ScreenTools.defaultFontPixelWidth * 25
Component.onCompleted: calcSensor() Component.onCompleted: calcSensor()
......
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