#include <UiLayoutFitterComponent.h>
Inherits AZ::Component, UiLayoutControllerBus::Handler, and UiLayoutFitterBus::Handler.
Public Member Functions | |
AZ_COMPONENT (UiLayoutFitterComponent, LyShine::UiLayoutFitterComponentUuid, AZ::Component) | |
void | ApplyLayoutWidth () override |
void | ApplyLayoutHeight () override |
bool | GetHorizontalFit () override |
void | SetHorizontalFit (bool horizontalFit) override |
bool | GetVerticalFit () override |
void | SetVerticalFit (bool verticalFit) override |
FitType | GetFitType () override |
Protected Member Functions | |
void | Activate () override |
void | Deactivate () override |
unsigned int | GetPriority () const override |
AZ_DISABLE_COPY_MOVE (UiLayoutFitterComponent) | |
void | CheckFitterAndInvalidateLayout () |
Called on a property change that has caused this element's layout to be invalid. | |
void | RefreshEditorTransformProperties () |
Called on a property change that has caused properties on Transform2d to get modified. | |
Protected Attributes | |
bool | m_horizontalFit |
bool | m_verticalFit |
This component resizes its element to fit its content. It uses cell sizing information given to it by other Layout components, Text component, or Image component (fixed type).