Ian wrote: > Hi, > > I am studying FLTK using the example programs. I have noticed that > the buttons, especially in inactive.cxx expand or shrink when I resize > the window. I also look at the FLTK documents and could not find anything > that prevent the buttons from expanding or shrinking. > > Is it possible to have fix widget when the window is sizing bu user?
Yes, see Fl_Group::resizable() in the FLTK docs [1] or [2] If you have special needs, you can also overwrite your_widget::resize() to do whatever resizing you like. Albrecht [1] <http://www.fltk.org/doc-1.1/Fl_Group.html#Fl_Group.resizable> [2] <http://www.fltk.org/doc-1.3/classFl__Group.html#fd220e45e1ac817bde7d6a25fdf74e37> P.S. Please ask such user questions in fltk.general - fltk.development is reserved for development of fltk itself. Thanks. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
