Make text area in message dialog a bit larger

pull/48/head
Perttu Ahola 2012-01-02 13:34:24 +02:00
parent 0e1f448b61
commit 2b9596fe9b
1 changed files with 2 additions and 2 deletions

View 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"));