Author: spitzak Date: 2007-07-13 07:02:14 -0700 (Fri, 13 Jul 2007) New Revision: 5926 Log: Fix for STR #1734 init_sizes() also causes a relayout(), as code that was calling it assummed that.
Modified: trunk/src/Group.cxx Modified: trunk/src/Group.cxx =================================================================== --- trunk/src/Group.cxx 2007-07-13 13:44:36 UTC (rev 5925) +++ trunk/src/Group.cxx 2007-07-13 14:02:14 UTC (rev 5926) @@ -94,7 +94,8 @@ type(GROUP_TYPE); style(::group_style); align(ALIGN_TOP); - init_sizes(); + initial_w = w(); + initial_h = h(); if (begin) this->begin(); } @@ -461,7 +462,7 @@ initial_w = w(); initial_h = h(); delete[] sizes_; sizes_ = 0; - //relayout(); + relayout(); } /** Returns array of initial sizes of the widget and it's children. _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
