AutomaticSize doesn't respect SizeConstraint property of children

When a Gui object that’s SizeConstraint property is set to Enum.SizeConstraint.RelativeXX is placed inside a frame with AutomaticSize set to Enum.AutomaticSize.Y, the Size property of the frame does not automatically readjust like it should.

An image of the properties of the parent frame

An image of the properties of the child’s frame.

The parent frame is still treating the child frame as if the SizeConstraint property was set to Enum.SizeConstraint.RelativeXY which results the parent frame from not scaling down more like it should to accommodate the change in size.

2 Likes

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

1 Like

This is also an issue with an element with a UIAspectRatioConstaint inside a scrolling frame with a UIListLayout and AutomaticCanvasSize set to Enum.AutomaticSize.Y

Repro:
scrollingFrameAutomaticSize.rbxl (66.7 KB)

Seems to be an issue with UIListLayout, using a UIGridLayout, with equivalent configuration, works fine