public RatingRow() { Size = new Vector2(430, 20); AddChild(nameBox = new Label { Background = null, Anchor = Orientation.Left, Size = new Vector2(120, 20) }); AddChild(lowValueBox = new Label { Background = null, Anchor = Orientation.Left, Size = new Vector2(80, 20), Position = new Vector2(120, 0), TextAnchor = Orientation.Right }); AddChild(ratingBox = new RatingControl { Size = new Vector2(140, 20), Position = new Vector2(205, 0) }); AddChild(highValueBox = new Label { Background = null, Anchor = Orientation.Left, Size = new Vector2(80, 20), Position = new Vector2(355, 0) }); }