mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 11:35:57 +02:00
LCL: Call TComboBox.OnMeasureItem also for csOwnerDrawEditableVariable. Issue #35831.
git-svn-id: trunk@61574 -
This commit is contained in:
parent
9fc9ecc3a0
commit
74f527f75c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user