[Lazarus] Does Lazarus have "sizer" or "layout" objects?
Vincent Snijders
vincent.snijders at gmail.com
Wed Jan 7 16:29:47 CET 2009
2009/1/7 David W Noon <david.w.noon at ntlworld.com>:
> Hi,
>
> Some C++ class libraries have object classes that automatically resize
> widgets when a form is resized by the user. For example, wxWidgets calls
> them sizers, and Qt calls them layouts. I have perused the LCL
> documentation and have found nothing that quite meets the bill. I tried
> a TPanel object, but it did not have anywhere near that functionality;
> in fact, it seemed to do very little.
>
> So, as the subject line says, does Lazarus have such classes?
No, there are no such classes. A control has anchors, and a number of
a controls can autosize (i.e. adjust size accoding to their contents).
For anchoring, see wiki:
http://wiki.lazarus.freepascal.org/IDE_Window:_Anchor_Editor
and
http://wiki.lazarus.freepascal.org/Anchor_Sides
Vincent
More information about the Lazarus
mailing list