[Lazarus] Autosize behaviour

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Apr 6 15:22:32 CEST 2010


Martin schrieb:

> Either you need a special property editor, which opens for the Layouter, 
> and allows you to add/remove controls. Or you have a Layouter property. 
> IMHO the property would be fine in this case.

ACK. Like the Font property, the properties of the selected layouter can
be edited in the OI as well. When in contrast the layout components are
dropped into arbitrary places on the form, it's hard to find the
component dedicated to a specific control.


> Or am I missing a 3rd way?

We could have customized panels, for all the different layouts. But this 
feature is not applicable to forms, and it will be very hard to change 
the layout later, after a panel has been populated with child controls; 
then you'd also loose all other properties of the panel.

Eventually we need some more design modes, to disable automatic update 
of a form while editing layout details. I don't like the greedy attitude 
of alClient, when it comes to adding more controls around it.

DoDi






More information about the Lazarus mailing list