Browse Source

APMPowerComponent: Add missing sizeToContents for FactComboBox

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 4 years ago committed by Don Gagne
parent
commit
fec56e6c23
  1. 5
      src/AutoPilotPlugins/APM/APMPowerComponent.qml

5
src/AutoPilotPlugins/APM/APMPowerComponent.qml

@ -82,6 +82,7 @@ SetupPage {
id: monitor1Combo id: monitor1Combo
fact: _batt1Monitor fact: _batt1Monitor
indexModel: false indexModel: false
sizeToContents: true
} }
} }
@ -168,6 +169,7 @@ SetupPage {
id: monitor2Combo id: monitor2Combo
fact: _batt2Monitor fact: _batt2Monitor
indexModel: false indexModel: false
sizeToContents: true
} }
} }
@ -364,6 +366,7 @@ SetupPage {
id: monitorCombo id: monitorCombo
fact: battMonitor fact: battMonitor
indexModel: false indexModel: false
sizeToContents: true
} }
QGCLabel { QGCLabel {
@ -427,6 +430,7 @@ SetupPage {
fact: battCurrPin fact: battCurrPin
indexModel: false indexModel: false
visible: _showAdvanced visible: _showAdvanced
sizeToContents: true
} }
QGCLabel { QGCLabel {
@ -441,6 +445,7 @@ SetupPage {
fact: battVoltPin fact: battVoltPin
indexModel: false indexModel: false
visible: _showAdvanced visible: _showAdvanced
sizeToContents: true
} }
QGCLabel { QGCLabel {

Loading…
Cancel
Save