Started by janszi, 11 February 2015, 22:38:19
tgui::MessageBox::Ptr exitMsg = tgui::MessageBox::create("Gui/Black.conf");exitMsg->setText(sf::String("Are you sure you want to quit?"));exitMsg->addButton(sf::String("Yes"));exitMsg->addButton(sf::String("No"));
Quotewhen a button is clicked you send a "ButtonClicked" signal. However in the constructor (and according to the API documentation) you look for the "ButtonPressed" signal.
QuoteWhen the messagebox appears I can't see any text neither in the window nor on the buttons, just the blank placeholders
QuoteI pulled the latest dev version and it's working now. I see that you had other modification of fonts in MsgBox code. That was probably the problem.