UIGridLayout HorizontalAlignment does not function past first row

The UIGridLayout object has a property called HorizontalAlignment which determines the horizontal justification of the aligned grid objects. The bug is that the property when set to “Center” stops aligning objects to the center after the first row.

I do not know when the bug started occurring, or if it has been present since the feature was developed.

Reproduction steps:

  1. Set up UI using a UIGridLayout object.
  2. Set the UIGridLayout object’s HorizontalAlignment to Center
  3. Add grid objects until a second row is formed.
  4. Notice how all grid items added after the first row are left aligned.

Duplicate topic, as listed above.