Skip to content

Commit 1aa50b1

Browse files
committedMar 30, 2013
Make the textbox for serverlist title wider
1 parent e17ae47 commit 1aa50b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/guiMainMenu.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -437,15 +437,15 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
437437
if(m_data->selected_serverlist == SERVERLIST_FAVORITES) {
438438
m_data->servers = ServerList::getLocal();
439439
{
440-
core::rect<s32> rect(0, 0, 110, 20);
440+
core::rect<s32> rect(0, 0, 390, 20);
441441
rect += m_topleft_client + v2s32(50, 10);
442442
Environment->addStaticText(wgettext("Favorites:"),
443443
rect, false, true, this, GUI_ID_SERVERLIST_TITLE);
444444
}
445445
} else {
446446
m_data->servers = ServerList::getOnline();
447447
{
448-
core::rect<s32> rect(0, 0, 110, 20);
448+
core::rect<s32> rect(0, 0, 390, 20);
449449
rect += m_topleft_client + v2s32(50, 10);
450450
Environment->addStaticText(wgettext("Public Server List:"),
451451
rect, false, true, this, GUI_ID_SERVERLIST_TITLE);
@@ -454,7 +454,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
454454
#else
455455
m_data->servers = ServerList::getLocal();
456456
{
457-
core::rect<s32> rect(0, 0, 110, 20);
457+
core::rect<s32> rect(0, 0, 390, 20);
458458
rect += m_topleft_client + v2s32(50, 10);
459459
Environment->addStaticText(wgettext("Favorites:"),
460460
rect, false, true, this, GUI_ID_SERVERLIST_TITLE);

0 commit comments

Comments
 (0)
Please sign in to comment.