mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 18:58:16 +02:00
git-svn-id: trunk@17163 -
This commit is contained in:
parent
ae817f22ad
commit
a8e65749a5
@ -389,7 +389,7 @@ end;
|
||||
|
||||
function TCustomListBox.GetItemHeight: Integer;
|
||||
begin
|
||||
if HandleAllocated and (Style <> lbOwnerDrawVariable) then
|
||||
if HandleAllocated and (Style = lbStandard) then
|
||||
begin
|
||||
with ItemRect(TopIndex) do
|
||||
Result := Bottom - Top;
|
||||
|
Loading…
Reference in New Issue
Block a user