mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
designer: don't reset the frame width and height when it set in the object inspector (bug #0013665)
git-svn-id: trunk@26421 -
This commit is contained in:
parent
3f6251657d
commit
1fce8997f8
@ -101,8 +101,8 @@ begin
|
||||
// reset anchors
|
||||
for a := Low(TAnchorKind) to High(TAnchorKind) do
|
||||
AControl.AnchorSide[a].Control := nil;
|
||||
// reset bounds
|
||||
AControl.SetBounds(0, 0, Width, Height);
|
||||
// reset left, top but save width and height
|
||||
AControl.SetBounds(0, 0, AControl.Width, AControl.Height);
|
||||
finally
|
||||
FChangingBounds := False;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user