moved the connect button in the server browser, so it doesn't overlap with the ingame disconnect button. Closes #1389

This commit is contained in:
oy 2015-11-08 19:16:15 +01:00
parent 373f98ea3d
commit 76aaf258d2

View file

@ -1645,6 +1645,7 @@ void CMenus::RenderServerbrowser(CUIRect MainView)
float Spacing = 3.0f; float Spacing = 3.0f;
float ButtonWidth = (MainView.w/6.0f)-(Spacing*5.0)/6.0f; float ButtonWidth = (MainView.w/6.0f)-(Spacing*5.0)/6.0f;
MainView.VSplitRight(ButtonWidth+Spacing, &MainView, 0);
MainView.HSplitBottom(60.0f, 0, &BottomBox); MainView.HSplitBottom(60.0f, 0, &BottomBox);
BottomBox.VSplitRight(ButtonWidth*2.0f+Spacing, 0, &BottomBox); BottomBox.VSplitRight(ButtonWidth*2.0f+Spacing, 0, &BottomBox);