Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-05

TControl.Align

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

When setting the Align property the LCL now resets the Left, Top, Width, Height to the BaseBounds.
For example, when setting Align from the default alNone to alLeft and then back again to alNone the control will have the bounds from the beginning.
This is Delphi compatible and useful in the designer as it works like a simple undo.

Please test and check if this creates any trouble.

Mattias

Reply by email