mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 08:29:06 +02:00
LCL: TTreeView: fix signs for r55110 #73e1e2caee
git-svn-id: trunk@55112 -
This commit is contained in:
parent
d8490f1c3c
commit
be769b3feb
@ -4544,7 +4544,7 @@ end;
|
||||
|
||||
function TCustomTreeView.GetExpandSignSize: integer;
|
||||
begin
|
||||
if FExpandSignSize>0 then
|
||||
if FExpandSignSize>=0 then
|
||||
Result := FExpandSignSize
|
||||
else
|
||||
if ExpandSignType = tvestTheme then
|
||||
@ -4555,7 +4555,7 @@ end;
|
||||
|
||||
function TCustomTreeView.GetIndent: Integer;
|
||||
begin
|
||||
if FIndent=0 then
|
||||
if FIndent<0 then
|
||||
Result := Scale96ToFont(15)
|
||||
else
|
||||
Result := FIndent;
|
||||
|
Loading…
Reference in New Issue
Block a user