PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
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