forked from Mirrorlandia_minetest/minetest
Make text area in message dialog a bit larger
This commit is contained in:
parent
0e1f448b61
commit
2b9596fe9b
@ -85,7 +85,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
|
|||||||
Add stuff
|
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);
|
rect = rect + v2s32(size.X/2-400/2, size.Y/2-50/2-25);
|
||||||
Environment->addStaticText(m_message_text.c_str(), rect, false,
|
Environment->addStaticText(m_message_text.c_str(), rect, false,
|
||||||
true, this, 256);
|
true, this, 256);
|
||||||
@ -93,7 +93,7 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
|
|||||||
changeCtype("");
|
changeCtype("");
|
||||||
{
|
{
|
||||||
core::rect<s32> rect(0, 0, 140, 30);
|
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 =
|
gui::IGUIElement *e =
|
||||||
Environment->addButton(rect, this, 257,
|
Environment->addButton(rect, this, 257,
|
||||||
wgettext("Proceed"));
|
wgettext("Proceed"));
|
||||||
|
Loading…
Reference in New Issue
Block a user