mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 10:29:28 +02:00
fixed tvoAutoItemHeight
git-svn-id: trunk@4000 -
This commit is contained in:
parent
99896f2846
commit
02777dd1b5
@ -3384,6 +3384,7 @@ end;
|
||||
|
||||
procedure TCustomTreeView.SetDefaultItemHeight(Value: integer);
|
||||
begin
|
||||
if tvoAutoItemHeight in FOptions then exit;
|
||||
if Value<=0 then Value:=20;
|
||||
if Value=FDefItemHeight then exit;
|
||||
FDefItemHeight:=Value;
|
||||
|
Loading…
Reference in New Issue
Block a user