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

[STR New]

Link: http://www.fltk.org/str.php?L1895
Version: 1.2-current


If I may answer for Alvin: The part that does the calculation, whether
scrollbars are needed or not, and that activates and deactivates the
scrollbars.

In short: everything that would be needed to call bbox() and get a correct
result depending on the new size of this Fl_Scroll widget in a derived
Widget's resize() method (after calling Fl_Scroll::resize()).

Thus, Fl_Scroll::resize() should also call init_scrollbars to manage the
appearance and maybe position of the scrollbars before (or after) calling
Fl_Widget::resize().

Basically the part from " // accumulate bounding box of children:" over
"// turn the scrollbars on and off as necessary:" ... until ... but not
including "// draw the scrollbars:".

Albrecht


Link: http://www.fltk.org/str.php?L1895
Version: 1.2-current

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

Reply via email to