InteractiveMessageBox: Define a maximum width for the message text

deque
scrawl 10 years ago
parent 727a83d09a
commit 25e96b8c7b

@ -210,6 +210,7 @@ namespace MWGui
getWidget(mButtonsWidget, "buttons");
mMessageWidget->setOverflowToTheLeft(true);
mMessageWidget->setSize(400, mMessageWidget->getHeight());
mMessageWidget->setCaptionWithReplacing(message);
MyGUI::IntSize textSize = mMessageWidget->getTextSize();

Loading…
Cancel
Save