Browser: fix server name offset

This commit is contained in:
Jordy Ruiz 2019-01-18 00:26:19 +01:00
parent ea4e81ca75
commit 3cf1917791
2 changed files with 2 additions and 1 deletions

View file

@ -275,6 +275,7 @@ int CMenus::DoButton_GridHeader(const void *pID, const char *pText, int Checked,
TextRender()->TextOutlineColor(1.0f, 1.0f, 1.0f, 0.25f);
}
CUIRect Label;
pRect->VMargin(2.0f, &Label);
Label.y+=2.0f;

View file

@ -24,7 +24,7 @@
#include "menus.h"
CMenus::CColumn CMenus::ms_aBrowserCols[] = { // Localize - these strings are localized within CLocConstString
{COL_BROWSER_FLAG, -1, " ", -1, 87.0f, 0, {0}, {0}, CUI::ALIGN_CENTER},
{COL_BROWSER_FLAG, -1, " ", -1, 4*16.0f+3*2.0f, 0, {0}, {0}, CUI::ALIGN_CENTER},
{COL_BROWSER_NAME, IServerBrowser::SORT_NAME, "Server", 0, 310.0f, 0, {0}, {0}, CUI::ALIGN_CENTER},
{COL_BROWSER_GAMETYPE, IServerBrowser::SORT_GAMETYPE, "Type", 1, 70.0f, 0, {0}, {0}, CUI::ALIGN_CENTER},
{COL_BROWSER_MAP, IServerBrowser::SORT_MAP, "Map", 1, 100.0f, 0, {0}, {0}, CUI::ALIGN_CENTER},