LCL: Call TComboBox.OnMeasureItem also for csOwnerDrawEditableVariable. Issue #35831.

git-svn-id: trunk@61574 -
This commit is contained in:
juha 2019-07-11 22:19:58 +00:00
parent 9fc9ecc3a0
commit 74f527f75c

View File

@ -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;