From 25e96b8c7b39bf2976ba591247fc0f0551a365c0 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 20 Sep 2014 08:57:16 +0200 Subject: [PATCH] InteractiveMessageBox: Define a maximum width for the message text --- apps/openmw/mwgui/messagebox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwgui/messagebox.cpp b/apps/openmw/mwgui/messagebox.cpp index d6839d9a9..09074d8f0 100644 --- a/apps/openmw/mwgui/messagebox.cpp +++ b/apps/openmw/mwgui/messagebox.cpp @@ -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();