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 am experiencing it on both FLTK 1.3.0 & FLTK 1.3.1 stable versions. To reproduce , just edit the bottom of table-as-container.cxx file as seen below. This code increments the row count when the 0/0 button is pushed. After this point, table refresh gets garbled. Is there any workaround ? int col = 10; int row = 50; WidgetTable *G_table = NULL; void button_cb(Fl_Widget *w, void*) { char lbl[64] = {0}; fprintf(stderr, "BUTTON: %s\n", (const char*)w->label()); // ... strcpy(lbl, w->label()); if(strcmp(lbl, "0/0 ") == 0) { row++; G_table->SetSize(row, col); } } int main() { Fl_Double_Window win(940, 500, "table as container"); WidgetTable table(20, 20, win.w()-40, win.h()-40, "FLTK widget table"); table.SetSize(row, col); G_table = &table; win.end(); win.resizable(table); win.show(); return(Fl::run()); } 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
