Dear All,
I found  that when I draw the text in button widget, the corrdinates of the 
text is not in the center of the button, but near the bottom part. If I 
deactivate the button, the text will be more near the bottom part. Why?

My code is as follows:

m_pButton = new Button(0,0, 47, 21, "test");
m_pButton->set_flag(ALIGN_INSIDE|ALIGN_CENTER);
m_pButton->labelfont(font("WenQuanYi Zen Hei"));
m_pButton->labelsize(REMIND_TEXT_SIZE);
m_pButton->labelcolor(BLACK);
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to