AutomaticSize not working

Reproduction Steps

  1. Create a TextLabel
  2. Set AutomaticSize to XY

Expected Behavior
The size of the box should be adjusted after changing the AutomaticSize property

Actual Behavior
The size of the box is not being adjusted after changing the AutomaticSize property

Issue Area: Studio
Issue Type: Display
Impact: High
Frequency: Constantly

1 Like

Not a bug. Size determines the minimum bounds of the box. AutomaticSize increases the maximum bounds of the box based on the content of the Gui element. Change the TextLabel’s X offset to 0 and set AutomaticSize again, you’ll see different behaviour.

Refer to How to use Automatic Size - Minimum Size.

2 Likes

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