Navigation
API > API/Runtime > API/Runtime/Slate
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)
| Name | EListItemAlignment |
| Type | enum |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STableViewBase.h |
| Include Path | #include "Widgets/Views/STableViewBase.h" |
Syntax
enum EListItemAlignment
{
EvenlyDistributed,
EvenlySize,
EvenlyWide,
LeftAligned,
RightAligned,
CenterAligned,
Fill,
}
Values
| Name | Remarks |
|---|---|
| EvenlyDistributed | Items are distributed evenly along the line (any extra space is added as padding between the items) |
| EvenlySize | Items are distributed evenly along the line (any extra space is used to scale up the size of the item proportionally.) |
| EvenlyWide | 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 |