[Lazarus] Docking manager implementation

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jan 25 13:56:36 CET 2009


On Sun, 25 Jan 2009 14:24:50 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> On Sun, Jan 25, 2009 at 2:25 AM, Mattias Gaertner
> <nc-gaertnma at netcologne.de> wrote:
> >>
> >>    Form.Create
> >>    Form.OnResize
> >>    OnCustomAlignPosition
> >>    OnCustomAlignInsertBefore
> >>    <each components>.OnResize
> >>    ....etc....
> >>
> >> MiGLayout does all the above in one location - easy to find, edit
> >> and maintain.
> >
> > Let's stay realistic.
> > There will always be cases where you need methods/events to
> > override. For example:
> > Changes to the content of a control. For example the columns of a
> > TStringGrid.
> 
> I'm talking about the space components take up, not the internals of a
> specific component. eg: A panel with three buttons in a horizontal
> line. You might be able to AutoSize the buttons if there captions
> change. But the Panel will not auto size to fit the new "larger"
> buttons. The buttons will simply get clipped.

Why not?
It is done on most IDE dialogs.

 
> Make no mistake, LCL has much better anchoring and alignment than
> Delphi - but there are still many areas of concern.

True.


Mattias



More information about the Lazarus mailing list