Browse Source

Merge pull request #8030 from DonLakeFlyer/ComboHeight

Reduce height of items in combo dropdown
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
23b5156f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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