How can I increase the font size of gui panel?

Hi, All.

How can I enter the title for gui panel?
and…
How can I increase the font size of gui panel??

Thanks.

gui.setup("A Title");

in the documentation, you’ll find a list of global functions to play with for customizing your panel

1 Like

Hi, @bidul

Thanks a lot.

I’ll try that.

the global functions are just calling the static methods of the ofxBaseGui class, so for changing the font and font size used in the panel, you can either use :

ofxGuiSetFont(<font_name>, <font_size>, ...);

or

ofxPanel::loadFont(<font_name>, <font_size>, ...);

// or

gui.loadFont(<font_name>, <font_size>, ...);

there are just some slight differences in the names

it is the same for the other global functions, you can take a look to the ofxBaseGui class

1 Like