UiLayout
Provides common functionality for row, column, and grid layouts.
UiLayoutBus
Services messages for the UILayout
components.
GetHorizontalChildAlignment
Returns the horizontal child alignment.
Syntax
eUiHAlign GetHorizontalChildAlignment()
Following are possible values for eUiHAlign
.
enum eUiHAlign { eUiHAlign_Left, eUiHAlign_Center, eUiHAlign_Right };
GetIgnoreDefaultLayoutCells
Returns whether default layout cell values calculated by other components on the child are ignored.
Syntax
bool GetIgnoreDefaultLayoutCells()
GetVerticalChildAlignment
Returns the vertical child alignment.
Syntax
eUiVAlign GetVerticalChildAlignment()
Following are possible values for eUiVAlign
.
enum eUiVAlign { eUiVAlign_Top, eUiVAlign_Center, eUiVAlign_Bottom };
SetHorizontalChildAlignment
Sets the horizontal child alignment.
Syntax
void SetHorizontalChildAlignment(eUiHAlign hAlign)
For possible values for eUiHAlign
, see GetHorizontalChildAlignment.
SetIgnoreDefaultLayoutCells
Sets whether default layout cell values calculated by other components on the child are ignored.
Syntax
void SetIgnoreDefaultLayoutCells (bool ignore)
SetVerticalChildAlignment
Sets the vertical child alignment.
Syntax
void SetVerticalChildAlignment(eUiVAlign vAlign)
For possible values for eUiVAlign
, see GetVerticalChildAlignment.