Menu
Lumberyard
Developer Guide (Version 1.11)

UILayoutFitterComponent

You can use this component to implement a UI Layout Fitter in Amazon Lumberyard.

UiLayoutFitterBus

Services messages for the UiLayoutFitterComponent.

GetHorizontalFit

Returns whether to resize the element horizontally.

Syntax

Copy
bool GetHorizontalFit()

SetHorizontalFit

Sets whether to resize the element horizontally.

Syntax

Copy
void SetHorizontalFit(bool horizontalFit)

GetVerticalFit

Returns whether to resize the element vertically.

Syntax

Copy
bool GetVerticalFit()

SetVerticalFit

Sets whether to resize the element vertically.

Syntax

Copy
void SetVerticalFit(bool verticalFit)

On this page: