Changing UIAspectRatioConstraint values while in a UIListLayout does not update position of the object being constrained

Notice how I fiddle with the properties of the UIAspectRatioConstraint and how the frame being constrained does not get re-centered. To re-center it, I have to use and un-use the emulated windows.

This happens in engine as well as Studio. Putting this LocalScript inside the frame with the UIAspectRatioConstraint:

while true do
	wait(1)
	script.Parent.UIAspectRatioConstraint.AspectRatio = math.random(1, 9) / 10
end

…produces this effect.

CC @Tiffblocks

2 Likes

I see what the issue is, I’ll make a fix.

2 Likes

I enabled a fix for this today, it should now align to the center in your example.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.