Enum
Enum.AutomaticSize
UI objects with AutomaticSize enabled will increase in size up to maximum size allowed by the parent (if there is one) and no smaller than the Size property bounds.
| Item | Value | Summary |
|---|---|---|
| Enum.AutomaticSize.None | 0 | Default sizing behavior. |
| Enum.AutomaticSize.X | 1 | Automatically resize element along the X axis to fit child contents. |
| Enum.AutomaticSize.Y | 2 | Automatically resize element along the Y axis to fit child contents. Text objects will only resize along the Y axis if their TextWrapped property is enabled. |
| Enum.AutomaticSize.XY | 3 | Automatically resize element along the X and Y axes to fit child contents. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.