Apearance of GuiStaticText
Apearance of GuiStaticText
How do you make the StaticGuiText look different in more than one place? For example bold or different fonts. When i try and change the font for one line it just ignores it and uses whatever font was last used before it draws for all text.
With staticText->setOverrideFont ( yourfont) you can give each statictext an own font. You can't have several fonts within one statictext for different lines, for that you would need some RichTextElement and I think no one has written one yet.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm