Skip to content

UIHVLayout

Inherits UIContainer

UIHVLayout is an abstract class that provides horizontal and vertical layout functionality for UI elements.

Abstract Object

This object exists only to serve as a foundation for other objects. It cannot be accessed directly, but its properties are documented below.

Additionally, it cannot be created in the creator menu or with Instance.New().

Not newable

This object cannot be created by scripts using Instance.New().

Properties

Spacing : number

The spacing between child elements in the layout.

ChildAlignment : UILayoutAlignment

Determines the alignment of child elements within the layout.