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.
- Set up UI using a UIGridLayout object.
- Set the UIGridLayout object’s HorizontalAlignment to Center
- Add grid objects until a second row is formed.
- Notice how all grid items added after the first row are left aligned.