AutomaticSize

Overview

AutomaticSize is an Enum that specifies the direction of automatic size adjustment for UI elements.

It is used as the AutomaticSize property in GuiBase and its subclasses, determining the direction in which a UI element automatically adjusts its size based on the size of its child elements.

Items

Name
Value
Description

None

0

Automatic size adjustment is not used. Size is specified directly using the Size property.

X

1

Automatic size adjustment is performed only in the X-axis (horizontal) direction.

Y

2

Automatic size adjustment is performed only in the Y-axis (vertical) direction.

XY

3

Automatic size adjustment is performed for both X-axis and Y-axis.

See also

ScrollingFramechevron-right

Last updated