From 2b9596fe9b046506243e9f07010dd951f84ec608 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 2 Jan 2012 13:34:24 +0200 Subject: [PATCH] Make text area in message dialog a bit larger --- src/guiMessageMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guiMessageMenu.cpp b/src/guiMessageMenu.cpp index 87f1dbf0..ff9316b8 100644 --- a/src/guiMessageMenu.cpp +++ b/src/guiMessageMenu.cpp @@ -85,7 +85,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize) Add stuff */ { - core::rect rect(0, 0, 400, 50); + core::rect rect(0, 0, 400, 70); rect = rect + v2s32(size.X/2-400/2, size.Y/2-50/2-25); Environment->addStaticText(m_message_text.c_str(), rect, false, true, this, 256); @@ -93,7 +93,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize) changeCtype(""); { core::rect rect(0, 0, 140, 30); - rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25); + rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+45); gui::IGUIElement *e = Environment->addButton(rect, this, 257, wgettext("Proceed")); -- 2.30.2