Skip to content

Commit

Permalink
Make the textbox for serverlist title wider
Browse files Browse the repository at this point in the history
PilzAdam committed Mar 30, 2013

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e17ae47 commit 1aa50b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/guiMainMenu.cpp
Original file line number Diff line number Diff line change
@@ -437,15 +437,15 @@ 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);
}
} 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);

0 comments on commit 1aa50b1

Please sign in to comment.