From 99aa9b5001fb95606f58af445d3de5a86a2f2b6b Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 13 Nov 2019 12:15:54 -0800 Subject: [PATCH] Reduce height of items in combo dropdown --- src/QmlControls/QGCComboBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/QmlControls/QGCComboBox.qml b/src/QmlControls/QGCComboBox.qml index 9de86dd28..b46a8c377 100644 --- a/src/QmlControls/QGCComboBox.qml +++ b/src/QmlControls/QGCComboBox.qml @@ -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 -- 2.22.0