diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-01-02 13:34:24 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-01-02 13:34:24 +0200 |
commit | 2b9596fe9b046506243e9f07010dd951f84ec608 (patch) | |
tree | b741f1d2b63a994f192147528cccdbbeab14c382 /src | |
parent | 0e1f448b619de6651205692806c6f137f481dc43 (diff) | |
download | minetest-2b9596fe9b046506243e9f07010dd951f84ec608.tar.gz minetest-2b9596fe9b046506243e9f07010dd951f84ec608.tar.bz2 minetest-2b9596fe9b046506243e9f07010dd951f84ec608.zip |
Make text area in message dialog a bit larger
Diffstat (limited to 'src')
-rw-r--r-- | src/guiMessageMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiMessageMenu.cpp b/src/guiMessageMenu.cpp index 87f1dbf0e..ff9316b89 100644 --- a/src/guiMessageMenu.cpp +++ b/src/guiMessageMenu.cpp @@ -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")); |