[fltk.general] why labelsize() has no effect

2012-02-09 Thread leowang
Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the font display is still 14pix but not 36, the print

Re: [fltk.general] why labelsize() has no effect

2012-02-09 Thread leowang
Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the font display is still 14pix but not 36,

Re: [fltk.general] why labelsize() has no effect

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 09:46, leowang wrote: Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the