Roblox UtilitiesDevlHub Roblox Documentation

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.

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. To enable AutomaticSize, set the value to an enum value other than None.

This enum is used by GuiObject.AutomaticSize and ScrollingFrame.AutomaticCanvasSize to determine whether and how resizing occurs based on child content.

For more information, see Automatic Sizing.

Items 4#

NameValueSummary
None0Default sizing behavior.
X1Automatically resize element along the X axis to fit child contents.
Y2Automatically 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.
XY3Automatically resize element along the X and Y axes to fit child contents.