HorizontalAlignment

Overview

HorizontalAlignment is an Enum that specifies the horizontal alignment method for UI elements.

It is used as the HorizontalAlignment property in GuiBase and its subclasses, determining how an element is aligned horizontally within its parent container.

Items

Name
Value
Description

Center

0

Aligns the element to the center in the horizontal direction.

Left

1

Aligns the element to the left in the horizontal direction.

Right

2

Aligns the element to the right in the horizontal direction.

See also

UIGridStyleLayoutchevron-right

Last updated