Menu
Lumberyard
User Guide (Version 1.14)

UILayoutColumnComponent

Controls column layout.

UiLayoutColumnBus

Services messages for the UiLayoutColumnComponent.

GetOrder

Returns the vertical order for this layout.

Syntax

eUiVerticalOrder GetOrder()

Following are the possible values for eUiVerticalOrder.

enum eUiVerticalOrder { eUiVerticalOrder_TopToBottom, eUiVerticalOrder_BottomToTop };

GetPadding

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

Syntax

UiPadding GetPadding()

Following are the possible values for UiPadding.

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

GetSpacing

Returns, in pixels, the spacing between child elements.

Syntax

float GetSpacing()

SetOrder

Sets the vertical order for this layout.

Syntax

void SetOrder(eUiVerticalOrder order)

For possible values for eUiVerticalOrder, see GetOrder.

SetPadding

Sets the padding inside the edges of the element to the pixel value specified.

Syntax

void SetPadding(UiPadding padding)

For the possible values for UiPadding, see GetPadding.

SetSpacing

Sets the spacing between child elements to the pixel value specified.

Syntax

void SetSpacing(float spacing)

On this page: