From 74f527f75c9482e019f4f68ed4aeb4891865675a Mon Sep 17 00:00:00 2001 From: juha Date: Thu, 11 Jul 2019 22:19:58 +0000 Subject: [PATCH] LCL: Call TComboBox.OnMeasureItem also for csOwnerDrawEditableVariable. Issue #35831. git-svn-id: trunk@61574 - --- lcl/include/customcombobox.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/include/customcombobox.inc b/lcl/include/customcombobox.inc index 72a15d6408..2a368a8e43 100644 --- a/lcl/include/customcombobox.inc +++ b/lcl/include/customcombobox.inc @@ -1048,7 +1048,7 @@ begin AHeight := FItemHeight else AHeight := ItemHeight; - if FStyle = csOwnerDrawVariable then + if FStyle in [csOwnerDrawVariable, csOwnerDrawEditableVariable] then MeasureItem(Integer(ItemId), AHeight); if AHeight > 0 then ItemHeight := AHeight;