Hi, it seems that if I have a Fl_Tab with Fl_Window children, the Fl_Tabs won't correctly draw the labels. If I change the children to Fl_Groups, the labels are drawn fine. Is this intended or a bug? I would prefer not to have to create Fl_Groups to store my tabbed windows in.
#include <FL/Fl.h> #include <FL/Fl_Window.h> #include <FL/Fl_Tabs.h> Fl_Window *win; Fl_Tabs *tabs; Fl_Window *sub1; Fl_Window *sub2; //Fl_Group *sub1; //Fl_Group *sub2; int main(void) { win=new Fl_Window(0,0,200,200); tabs=new Fl_Tabs(0,0,200,200); //sub1=new Fl_Group(0,20,200,180,"Sub window 1"); sub1=new Fl_Window(0,20,200,180,"Sub window 1"); sub1->end(); sub1->labelcolor(FL_RED); sub1->labelsize(14); sub1->labelfont(FL_HELVETICA); //sub2=new Fl_Group(0,20,200,180,"Sub2"); sub2=new Fl_Window(0,20,200,180,"Sub2"); sub2->end(); tabs->end(); win->end(); win->show(); return Fl::run(); }//main _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk