Looking at the code for Fl_Group::resize(), it tells children to resize before updating its own size.
This is a problem if the children's resize() code wants to know what the parent's new size is going to be. Assuming there's a good reason Fl_Group doesn't set its own XYWH values before calling the children, would it be possible for Fl_Group::resize() to record the XYWH it is being resized to so children's resize() methods can access this if they need it? For example, a new public method and private data along the lines of: --- snip +int* Fl_Group::resize_xywh() const { return(&resize_xywh); } // public void Fl_Group::resize(int X, int Y, int W, int H) { + resize_xywh[0] = X; resize_xywh[1] = Y; + resize_xywh[2] = W; resize_xywh[3] = H; if (!resizable() || W==w() && H==h() ) { [..] --- snip _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev