DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2889 Version: 1.3.0 I think I figured what is wrong. It would be better if somebody confirms. Fl_Table has a member variable named table having the type Fl_Scroll. When you populate your table with widgets and you change the number of rows, then you should do a table-clear() explicitly before repopulating it again. If you do not, then table variable holds the widgets for not (row+1) rows but (row+row+1) rows. Then from there things get messed up. Just scroll the vertival scrollbar and see the contents garbled. Changing the code like below fixed the problem. I think Fl_Table::clear() function should call the table-clear() explicitly... void SetSize(int newrows, int newcols) { table->clear(); // this is the new line I added rows(newrows); cols(newcols); Link: http://www.fltk.org/str.php?L2889 Version: 1.3.0 _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
