Menu
Lumberyard
Developer Guide (Version 1.11)

UILayoutRowComponent

Controls the grid layout of rows.

UiLayoutRowBus

Messages serviced by the UiLayoutRowComponent.

GetOrder

Returns the horizontal order for this layout.

Syntax

Copy
eUiHorizontalOrder GetOrder()

Following are possible values for eUiHorizontalOrder.

Copy
enum eUiHorizontalOrder { eUiHorizontalOrder_LeftToRight, eUiHorizontalOrder_RightToLeft };

GetPadding

Returns, in pixels, the padding inside the edges of the element.

Syntax

Copy
UiPadding GetPadding()

Following are possible values for UiPadding.

Copy
class UiPadding { int left; int right; int top; int bottom; };

GetSpacing

Returns, in pixels, the spacing between child elements.

Syntax

Copy
float GetSpacing()

SetOrder

Sets the horizontal order for this layout.

Syntax

Copy
void SetOrder(eUiHorizontalOrder order)

For possible values for eUiHorizontalOrder, see GetOrder.

SetPadding

Sets the padding inside the edges of the element to the specified number of pixels.

Syntax

Copy
void SetPadding(UiPadding padding)

For possible values for UiPadding, see GetPadding.

SetSpacing

Sets the spacing between child elements to the specified number of pixels.

Syntax

Copy
void SetSpacing(float spacing)

On this page: