fix broken layout of serverbrowser

This commit is contained in:
Chris Forbes
2010-04-24 21:51:48 +12:00
parent fa2624f447
commit da86ce6fad

View File

@@ -64,7 +64,7 @@ namespace OpenRA.Widgets.Delegates
var g = game;
var b = new ButtonWidget
{
Bounds = new Rectangle(bg.DrawPosition().X + margin, bg.DrawPosition().Y + height, bg.Bounds.Width - 2 * margin, 25),
Bounds = new Rectangle(margin, height, bg.Bounds.Width - 2 * margin, 25),
Id = "JOIN_GAME_{0}".F(i),
Text = "{0} ({1})".F(game.Name, game.Address),
Delegate = "ServerBrowserDelegate",