diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-03-30 18:56:29 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-03-30 18:56:29 +0100 |
commit | 1aa50b13622c1e264044839ecdf0152670dae6ce (patch) | |
tree | e052f247df17f01869a13ba9786a1e750979c2d8 /src | |
parent | e17ae475cf8cec3f724bf99f6a52e49a19d99d91 (diff) | |
download | minetest-1aa50b13622c1e264044839ecdf0152670dae6ce.tar.gz minetest-1aa50b13622c1e264044839ecdf0152670dae6ce.tar.bz2 minetest-1aa50b13622c1e264044839ecdf0152670dae6ce.zip |
Make the textbox for serverlist title wider
Diffstat (limited to 'src')
-rw-r--r-- | src/guiMainMenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp index 579e6092d..4c2030039 100644 --- a/src/guiMainMenu.cpp +++ b/src/guiMainMenu.cpp @@ -437,7 +437,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) if(m_data->selected_serverlist == SERVERLIST_FAVORITES) { m_data->servers = ServerList::getLocal(); { - core::rect<s32> rect(0, 0, 110, 20); + core::rect<s32> rect(0, 0, 390, 20); rect += m_topleft_client + v2s32(50, 10); Environment->addStaticText(wgettext("Favorites:"), rect, false, true, this, GUI_ID_SERVERLIST_TITLE); @@ -445,7 +445,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) } else { m_data->servers = ServerList::getOnline(); { - core::rect<s32> rect(0, 0, 110, 20); + core::rect<s32> rect(0, 0, 390, 20); rect += m_topleft_client + v2s32(50, 10); Environment->addStaticText(wgettext("Public Server List:"), rect, false, true, this, GUI_ID_SERVERLIST_TITLE); @@ -454,7 +454,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize) #else m_data->servers = ServerList::getLocal(); { - core::rect<s32> rect(0, 0, 110, 20); + core::rect<s32> rect(0, 0, 390, 20); rect += m_topleft_client + v2s32(50, 10); Environment->addStaticText(wgettext("Favorites:"), rect, false, true, this, GUI_ID_SERVERLIST_TITLE); |