PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

AutomaticSize

AutomaticSize

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

For more information, please see the following article: How to use AutomaticSize.


Enums

Name Value Description

None

0

Default sizing behavior

X

1

Automatically resize element along X-axis to fit child contents

Y

2

Automatically resize element along Y-axis to fit child contents. Text Objects will only resize along the Y-axis if TextWrapped is enabled

XY

3

Automatically resize element along X and Y axes to fit child contents