mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 11:38:18 +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;
|
function TCustomListBox.GetItemHeight: Integer;
|
||||||
begin
|
begin
|
||||||
if HandleAllocated and (Style <> lbOwnerDrawVariable) then
|
if HandleAllocated and (Style = lbStandard) then
|
||||||
begin
|
begin
|
||||||
with ItemRect(TopIndex) do
|
with ItemRect(TopIndex) do
|
||||||
Result := Bottom - Top;
|
Result := Bottom - Top;
|
||||||
|
Loading…
Reference in New Issue
Block a user