There is something similar in FLTK 2. It has a virtual function named "layout()" that adjusts widgets sizes and available space. I am planning on using the layout mechanism in 3 - unless of course there is abetter way?!
On 01.12.2011, at 07:17, Lynn Quam wrote: > I am a new user of FLTK3 who is migrating from using Tcl/Tk for GUI > development. My software development is in Common Lisp (SBCL). I have some > tests successfully running using FLTK3 in combination with OpenGL. > > I like everything I am seeing in FLTK3, EXCEPT for (semi-)automatic layout of > widget arrangements. Tk has simple, yet effective ways to control widget > placement. I am willing to write layout class methods for FLTK, but some > basic infrastructure appears to be missing. > > An outside_measure() method should be implemented for classes, such as Button > and all of its subclasses, so that the outside dimensions of those widgets > can be determined. The existing measure() method returns the dimensions of > the label string and/or image. I have implemented such methods for Menubar > and Widget, but the implementations are fragile, depending on FLTK internal > details. > > Is there anything in the ROADMAP directed toward more advanced layout > infrastructure? > > > _______________________________________________ > fltk-dev mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk-dev _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
