Browse Source

Reduce height of items in combo dropdown

QGC4.4
DonLakeFlyer 6 years ago
parent
commit
99aa9b5001
  1. 3
      src/QmlControls/QGCComboBox.qml

3
src/QmlControls/QGCComboBox.qml

@ -53,7 +53,8 @@ T.ComboBox { @@ -53,7 +53,8 @@ T.ComboBox {
// The items in the popup
delegate: ItemDelegate {
width: _popupWidth
width: _popupWidth
height: Math.round(popupItemMetrics.height * 1.75)
property string _text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData

Loading…
Cancel
Save