IN THIS ARTICLE
UILayoutFitterComponent
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
bool GetHorizontalFit()
SetHorizontalFit
Sets whether to resize the element horizontally.
Syntax
void SetHorizontalFit(bool horizontalFit)
GetVerticalFit
Returns whether to resize the element vertically.
Syntax
bool GetVerticalFit()
SetVerticalFit
Sets whether to resize the element vertically.
Syntax
void SetVerticalFit(bool verticalFit)