mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 16:56:25 +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.
|
// This is done for Delphi compatibility.
|
||||||
if (Anchors = AnchorAlign[OldAlign]) and (Anchors <> AnchorAlign[FAlign]) then
|
if (Anchors = AnchorAlign[OldAlign]) and (Anchors <> AnchorAlign[FAlign]) then
|
||||||
Anchors := AnchorAlign[FAlign];
|
Anchors := AnchorAlign[FAlign];
|
||||||
{$IFDEF EnableExplicitBounds}
|
|
||||||
if not (csLoading in ComponentState) then
|
if not (csLoading in ComponentState) then
|
||||||
BoundsRect:=BaseBounds;
|
BoundsRect:=BaseBounds;
|
||||||
{$ENDIF}
|
|
||||||
EnableAutoSizing;
|
EnableAutoSizing;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user