UIGridLayout AbsoluteContentSize Incorrect When Having Cells With UISizeConstraint

If a UIGridLayout has cells with a UISizeConstraint, then the AbsoluteContentSize is calculated improperly.

Repo File:

Repo Grid.rbxl (59.5 KB)

Repo Screenshot:

Note that the AbsoluteContentSize is incorrectly calculated as 400x300, where the correct value should be 400x400.

Expected behavior

The UIGridLayout should take into account cells with UISizeConstraint when calculating AbsoluteContentSize.

We’ve filed a ticket to our internal database, and we’ll follow up when we have an update!

Thanks for the report!

1 Like