2009/1/7 David W Noon <[email protected]>: > 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 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
