fixed tvoAutoItemHeight

git-svn-id: trunk@4000 -
This commit is contained in:
mattias 2003-04-02 13:27:30 +00:00
parent 99896f2846
commit 02777dd1b5

View File

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