souvarine
21-09-2009 12:05:23
Hello.
I can't figure out how to set the font name and height of a tab item.
The following code makes compilation warning and doesn't work anyway. I didn't find anything in the doc.
Setting font name and size in the skin isn't an option for me, I must set it in the code.
Thanks.
I can't figure out how to set the font name and height of a tab item.
The following code makes compilation warning and doesn't work anyway. I didn't find anything in the doc.
MyGUI::TabItemPtr sheet = tabContainer->addItem(name);
sheet->setFontName(fontName);
sheet->setFontHeight(fontSize);
Setting font name and size in the skin isn't an option for me, I must set it in the code.
Thanks.