Setting the font of a single list

AshMcConnell

25-06-2010 12:02:48

Hi Folks,

I am a little confused how this can be done. I notice the "setFontName" method is marked as obsolete. It says to use "void StaticText::setFontName(const std::string& _font)". I'm not sure how this can be done for a MyGUI::List.

I must be missing something, any ideas?

Thanks for your help
All the best,
Ash

my.name

28-06-2010 10:21:29

create custom skin for your list box.

AshMcConnell

28-06-2010 10:29:32

Hi My.name

That's the route I ended up going, but is there no way to do it programatically? It is for a list of players in a race. I was thinking that I might want to reduce the size of the font (and row height) if there are a lot of drivers to save screen space. Is this currently possible?

Thanks for your help
All the best,
Ash