AutomaticSize doesn't respect UISizeConstraint constraints

Reproduction Steps

System Information

  • OS: Windows 10 Home
  • CPU: Intel(R) Core™ i7-9700K CPU @ 3.60GHz
  • GPU: NVIDIA GeForce GTX 1050 Ti
  • Memory: 16.0GB

Reproduction File


Expected Behavior
AutomaticSize should clamp the size after calculating it if a UISizeConstraint is found present under the GuiObject.

image


Actual Behavior
AutomaticSize completely ignores any UISizeConstraint.

For example, if the AutomaticSize property of a Frame is set to Y then the size should be 200x200.
The problem is if I have a UISizeConstraint under the Frame with AutomaticSize enabled, it won’t clamp it down to 100x100.

image

Issue Area: Engine
Issue Type: Display
Impact: Moderate
Frequency: Constantly

4 Likes

Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.

3 Likes

Bumping this; I can’t report bugs for some reason :pensive:.

AutomaticSize ignores both the SizeConstraint and ClipsDescendants properties of parents. This happens consistently.

3 Likes

We recently have an update around AutomaticSize using SizeConstraint. Please let me know if you can see the issue still, repro files are always welcome for any report.

4 Likes

It still happens; here’s a simple repro place:
AutomaticSize ignores UISizeConstraint bug.rbxl (43.6 KB)