mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 08:59:32 +02:00
LCL: TControl.SetAlign: change back to BaseBounds like VCL Explicit*
git-svn-id: trunk@30822 -
This commit is contained in:
parent
d123c41d7a
commit
ab7c9eb2f2
@ -3245,10 +3245,8 @@ begin
|
||||
// This is done for Delphi compatibility.
|
||||
if (Anchors = AnchorAlign[OldAlign]) and (Anchors <> AnchorAlign[FAlign]) then
|
||||
Anchors := AnchorAlign[FAlign];
|
||||
{$IFDEF EnableExplicitBounds}
|
||||
if not (csLoading in ComponentState) then
|
||||
BoundsRect:=BaseBounds;
|
||||
{$ENDIF}
|
||||
EnableAutoSizing;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user