forked from teamnwah/openmw-tes3coop
InteractiveMessageBox: Define a maximum width for the message text
This commit is contained in:
parent
727a83d09a
commit
25e96b8c7b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue