Position fixes

This commit is contained in:
Paul Chote
2010-03-15 22:02:20 +13:00
parent 7310015e47
commit 850baea1be
2 changed files with 4 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ namespace OpenRA.Widgets.Delegates
foreach (var game in GameList)
{
ButtonWidget b = new ButtonWidget();
b.Bounds = new Rectangle(bg.Bounds.X + 10, bg.Bounds.Y + height, width, 25);
b.Bounds = new Rectangle(bg.Bounds.X + 20, bg.Bounds.Y + height, width, 25);
b.GetType().GetField("Id").SetValue( b, "JOIN_GAME_{0}".F(i));
b.GetType().GetField("Text").SetValue( b, "{0} ({1})".F(game.Name, game.Address));
b.GetType().GetField("Delegate").SetValue( b, "ServerBrowserDelegate");

View File

@@ -96,14 +96,14 @@ Container:
Id:JOINSERVER_LABEL_TITLE
X:0
Y:20
Width:250
Width:450
Height:25
Text:Quick'n'dirty Server Browser
Align:Center
Button@JOINSERVER_BUTTON_CANCEL:
Id:JOINSERVER_BUTTON_CANCEL
X:PARENT_RIGHT - 170
Y:PARENT_BOTTOM - 35
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Cancel