mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2793
2793: Add some more space for Countries & Types r=Learath2 a=def- Since DDNet has too many locations now. A scroll wheel would be even better for the future if someone wants to implement that. ![screenshot-20200910@175801](https://user-images.githubusercontent.com/2335377/92758709-4ca55d00-f38f-11ea-924d-f13b998403f7.png) Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
d1aa014357
|
@ -691,9 +691,9 @@ void CMenus::RenderServerbrowserFilters(CUIRect View)
|
|||
{
|
||||
int Network = g_Config.m_UiPage == PAGE_DDNET ? IServerBrowser::NETWORK_DDNET : IServerBrowser::NETWORK_KOG;
|
||||
// add more space
|
||||
ServerFilter.HSplitTop(10.0f, 0, &ServerFilter);
|
||||
ServerFilter.HSplitTop(5.0f, 0, &ServerFilter);
|
||||
ServerFilter.HSplitTop(20.0f, &Button, &ServerFilter);
|
||||
ServerFilter.HSplitTop(95.0f, &ServerFilter, 0);
|
||||
ServerFilter.HSplitTop(123.0f, &ServerFilter, 0);
|
||||
|
||||
RenderTools()->DrawUIRect(&ServerFilter, ms_ColorTabbarActive, CUI::CORNER_B, 10.0f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue