Skip to content
Roblox API Reference

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.
Items
4
Uses
2

Items4

  • 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.

Used by properties2