mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-25 04:48:16 +01:00
LCL: fixed computing preferred size of client height - from Marc
git-svn-id: trunk@19467 -
This commit is contained in:
parent
443073a7a2
commit
a4a1f193d8
@ -695,7 +695,7 @@ begin
|
||||
AdjustedClientBorders[akLeft]:=AdjustedClientRect.Left;
|
||||
AdjustedClientBorders[akTop]:=AdjustedClientRect.Top;
|
||||
AdjustedClientBorders[akRight]:=BigInteger-AdjustedClientRect.Right;
|
||||
AdjustedClientBorders[akRight]:=BigInteger-AdjustedClientRect.Bottom;
|
||||
AdjustedClientBorders[akBottom]:=BigInteger-AdjustedClientRect.Bottom;
|
||||
end else begin
|
||||
for a:=low(TAnchorKind) to high(TAnchorKind) do
|
||||
AdjustedClientBorders[a]:=0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user