Make text area in message dialog a bit larger
authorPerttu Ahola <celeron55@gmail.com>
Mon, 2 Jan 2012 11:34:24 +0000 (13:34 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 2 Jan 2012 11:34:24 +0000 (13:34 +0200)
src/guiMessageMenu.cpp

index 87f1dbf0ec4c665b739c47a8f60209b5b570d065..ff9316b8979b239332766be6e61993025ea618a4 100644 (file)
@@ -85,7 +85,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
                Add stuff
        */
        {
-               core::rect<s32> rect(0, 0, 400, 50);
+               core::rect<s32> 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<s32> 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"));