I refactored my code after realizing I could setOverride the static text and message boxes (my previous code used an index to GUIImage's, quite ugly and wrong). But now I'm stuck because I would like to change the font size of a ListBox, I just don't see how to do it, if it's even possible.
Thanks in advance.
Can I setOverride the font for a GUIListBox (or GUITable)?
I think the ListBox is stuck with using the current skin's font, unless you want to make your own listbox class.
If you're overriding the fonts on each of your GUI controls individually, maybe you should just change the skin's default font?
IGUIFont* font = guienv->getFont("myfont.png");
guienv->getSkin()->setFont(font);
If you're overriding the fonts on each of your GUI controls individually, maybe you should just change the skin's default font?
IGUIFont* font = guienv->getFont("myfont.png");
guienv->getSkin()->setFont(font);