From: Perttu Ahola Date: Mon, 2 Jan 2012 11:34:24 +0000 (+0200) Subject: Make text area in message dialog a bit larger X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=2b9596fe9b046506243e9f07010dd951f84ec608;p=zefram%2Fminetest%2Fminetest_engine.git Make text area in message dialog a bit larger --- 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"));