On 31 Jul 2007, at 16:31, Pasquale Fersini wrote:
> Ok, but for font's size?
> Under winXP the font appears too big...

You possibly want to check the docs for the void fl_font(int face,  
int size); and fl_message_font(face, size); and see if that helps.

Or, you can set the fontsize directly for the widget in question,  
e.g. if you want to make the font smaller in your menu bar you might do:

     Fl_Menu_Bar *m = new Fl_Menu_Bar (0, 0, w, h);

#if defined (__APPLE__) || defined(WIN32)
     int testsz = m->textsize();
     m->textsize(testsz - 1);
#endif

This made-up fragment assume that for OSX or win32 I want to make the  
font a little smaller in my menu bar...

Something like that?
-- 
Ian

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to