GridLayout + SizeConstraint Issues

Trying to get a container to resize vertically when cells are added to a UIGridLayout. The issue is when enough cells are added, the container will remain the same size instead of expanding.

The API mentions that using a UISizeConstraint under the control of a UILayout would override the size. I tried putting a SizeConstraint in the container along with the GridLayout but got no results. I could not find anymore information about this feature or how it works other than the sentence in the API.

I am considering using a script to resize the container, but I would like to avoid doing so if there is a solution using UILayouts.