Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Views
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STableViewBase.h |
| Include | #include "Widgets/Views/STableViewBase.h" |
Syntax
enum EListItemAlignment
{
UMETA =(DisplayName = "Evenly (Padding)"),
UMETA =(DisplayName = "Evenly (Size)"),
UMETA =(DisplayName = "Evenly (Wide)"),
LeftAligned,
RightAligned,
CenterAligned,
Fill,
}
Values
| Name | Description |
|---|---|
| UMETA | Items are distributed evenly along the line (any extra space is added as padding between the items) |
| UMETA | Items are distributed evenly along the line (any extra space is used to scale up the size of the item proportionally.) |
| UMETA | Items are distributed evenly along the line, any extra space is used to scale up width of the items proportionally.) |
| LeftAligned | Items are left aligned on the line (any extra space is added to the right of the items) |
| RightAligned | Items are right aligned on the line (any extra space is added to the left of the items) |
| CenterAligned | Items are center aligned on the line (any extra space is halved and added to the left of the items) |
| Fill | Items are evenly stretched to distribute any extra space on the line |
Remarks
If the list panel is arranging items as tiles, this enum dictates how the items should be aligned (basically, where any extra space is placed)