Albrecht Schlosser wrote:
> Stan wrote:
>> Just to be clear, is the recommendation that when you call
>> resize() on some widget you should also call init_sizes() on all
>> groups (including windows) that contain the resized widget? e.g,
>
> No, I don't think that that would be necessary.
I'd agree -- you only should need to call init_sizes()
after you change the arrangement of the child widgets yourself,
such as with size(), position() or resize().
You shouldn't need to call init_sizes() if the Fl_Group
is resized, it will handle auto-sizing the children automatically
to try to keep their relative size and position arrangement.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk