Menu
Lumberyard
Developer Guide (Version 1.11)

UiLayout

Provides common functionality for row, column, and grid layouts.

UiLayoutBus

Services messages for the UILayout components.

GetHorizontalChildAlignment

Returns the horizontal child alignment.

Syntax

Copy
eUiHAlign GetHorizontalChildAlignment()

Following are possible values for eUiHAlign.

Copy
enum eUiHAlign { eUiHAlign_Left, eUiHAlign_Center, eUiHAlign_Right };

GetIgnoreDefaultLayoutCells

Returns whether default layout cell values calculated by other components on the child are ignored.

Syntax

Copy
bool GetIgnoreDefaultLayoutCells()

GetVerticalChildAlignment

Returns the vertical child alignment.

Syntax

Copy
eUiVAlign GetVerticalChildAlignment()

Following are possible values for eUiVAlign.

Copy
enum eUiVAlign { eUiVAlign_Top, eUiVAlign_Center, eUiVAlign_Bottom };

SetHorizontalChildAlignment

Sets the horizontal child alignment.

Syntax

Copy
void SetHorizontalChildAlignment(eUiHAlign hAlign)

For possible values for eUiHAlign, see GetHorizontalChildAlignment.

SetIgnoreDefaultLayoutCells

Sets whether default layout cell values calculated by other components on the child are ignored.

Syntax

Copy
void SetIgnoreDefaultLayoutCells (bool ignore)

SetVerticalChildAlignment

Sets the vertical child alignment.

Syntax

Copy
void SetVerticalChildAlignment(eUiVAlign vAlign)

For possible values for eUiVAlign, see GetVerticalChildAlignment.

On this page: