Emil wrote:
> Hello!
> Is there any way to set font size for the menu elements?
> For example:
> How do I set font size (label size) to 18 for File in Menu Bar?

  First you can use find_item() to find the item,
  and then change it with the labelsize() method. eg:

  Fl_Menu_Item *i = (Fl_Menu_Item*)menubar.find_item("File");
  if ( i ) { i->labelsize(24); }

  Note that if your "File" menu was really created with "&File",
  then you may need to use find_item("&File").

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

Reply via email to