Menu
Lumberyard
Developer Guide (Version 1.11)

UILayoutColumnComponent

Controls column layout.

UiLayoutColumnBus

Services messages for the UiLayoutColumnComponent.

GetOrder

Returns the vertical order for this layout.

Syntax

Copy
eUiVerticalOrder GetOrder()

Following are the possible values for eUiVerticalOrder.

Copy
enum eUiVerticalOrder { eUiVerticalOrder_TopToBottom, eUiVerticalOrder_BottomToTop };

GetPadding

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

Syntax

Copy
UiPadding GetPadding()

Following are the 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 vertical order for this layout.

Syntax

Copy
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

Copy
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

Copy
void SetSpacing(float spacing)

On this page: