mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
properly align selected header in the server browser. closes #1738
This commit is contained in:
parent
ec9cf90e1e
commit
7a7785e9f3
|
@ -260,7 +260,7 @@ int CMenus::DoButton_GridHeader(const void *pID, const char *pText, int Checked,
|
|||
}
|
||||
|
||||
CUIRect Label;
|
||||
pRect->VSplitLeft(5.0f, 0, &Label);
|
||||
pRect->VMargin(2.0f, &Label);
|
||||
Label.y+=2.0f;
|
||||
UI()->DoLabel(&Label, pText, pRect->h*ms_FontmodHeight*0.8f, CUI::ALIGN_CENTER);
|
||||
|
||||
|
|
Loading…
Reference in a new issue