LCL: TTreeView: fix signs for r55110 #73e1e2caee

git-svn-id: trunk@55112 -
This commit is contained in:
ondrej 2017-05-28 07:58:19 +00:00
parent d8490f1c3c
commit be769b3feb

View File

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