This commit is contained in:
Chris Forbes
2010-04-24 17:43:44 +12:00
committed by alzeih
parent 471a5c29c8
commit 70ebec36eb
3 changed files with 6 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Widgets.Delegates
template.Id = "PLAYER_{0}".F(c.Index);
template.Parent = Players;
template.GetWidget<ButtonWidget>("NAME").GetText = () => {return c.Name; };
template.Bounds = new Rectangle(pos.X, pos.Y + i, template.Bounds.Width, template.Bounds.Height);
template.Bounds = new Rectangle(0, i, template.Bounds.Width, template.Bounds.Height);
template.IsVisible = () => {return true;};
Players.AddChild(template);
i += 30;