DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2032
Version: 1.1.9


A widget's resize() method will always see stale info if it looks up at its
parent's xywh values.

This is because Fl_Group::resize() doesn't update its own public xywh
values until after the children's resize() methods have been called.

Would like to suggest this is a bug, and that Fl_Group::resize() should
update its own public xywh values first, before invoking the children's
resize() methods.

I think Albrecht has already recommended a patch that is going in the
right direction, will try to attach that here.

Thread on fltk.general (08/30/2008):
Subject: During widget resize(), how to get the current window's
width/height?

..and thread on fltk.development (08/31/2008):
"Subject: RFE: Fl_Group::resize() additional methods for fltk 1.x"


Link: http://www.fltk.org/str.php?L2032
Version: 1.1.9

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to