mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Browser: fix server name offset
This commit is contained in:
parent
ea4e81ca75
commit
3cf1917791
|
@ -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;
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue