mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 18:49:19 +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
|
// reset anchors
|
||||||
for a := Low(TAnchorKind) to High(TAnchorKind) do
|
for a := Low(TAnchorKind) to High(TAnchorKind) do
|
||||||
AControl.AnchorSide[a].Control := nil;
|
AControl.AnchorSide[a].Control := nil;
|
||||||
// reset bounds
|
// reset left, top but save width and height
|
||||||
AControl.SetBounds(0, 0, Width, Height);
|
AControl.SetBounds(0, 0, AControl.Width, AControl.Height);
|
||||||
finally
|
finally
|
||||||
FChangingBounds := False;
|
FChangingBounds := False;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user