goishin
29-03-2014 21:24:52
Hey all,
When I try to display text, my text is always garbled. I'm not sure what I'm doing wrong, so I figured I'd ask for advice. Please see a screenshot of the garbled text I'm referring to.
[attachment=0]garbled_text.jpg[/attachment]
I've tried a variety of different things. But the basic jist of the code I'm using is the following:
Looking in the mygui log file I see no errors at all. Has anyone else seen this? And if so, what did you do to resolve this?
- goishin
When I try to display text, my text is always garbled. I'm not sure what I'm doing wrong, so I figured I'd ask for advice. Please see a screenshot of the garbled text I'm referring to.
[attachment=0]garbled_text.jpg[/attachment]
I've tried a variety of different things. But the basic jist of the code I'm using is the following:
MyGUI::Window* window = static_cast<MyGUI::Window*>( static_cast<MenuItemComponent*>(*parentIter)->GetWidget() );
MyGUI::TextBox* t = window->createWidget<MyGUI::TextBox>( "TextBox", MyGUI::IntCoord( 0, 0, 50, 50 ), MyGUI::Align::Left, "Main" );
t->setCaption( "Test" );
Looking in the mygui log file I see no errors at all. Has anyone else seen this? And if so, what did you do to resolve this?
- goishin