forked from oerkki/voxelands
correct text position on guiMessageMenu
This commit is contained in:
parent
6c0bd4d3df
commit
58fe396d42
|
@ -92,8 +92,8 @@ void GUIMessageMenu::regenerateGui(v2u32 screensize)
|
|||
Add stuff
|
||||
*/
|
||||
{
|
||||
core::rect<s32> rect(0, 0, 400, 50);
|
||||
rect = rect + v2s32(size.X/2-400/2, size.Y/2-50/2-25);
|
||||
core::rect<s32> rect(0, 0, 300, 50);
|
||||
rect = rect + v2s32(size.X/2-150, size.Y/2-50/2-25);
|
||||
Environment->addStaticText(m_message_text.c_str(), rect, false,
|
||||
true, this, 256);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue