unreal.ListItemAlignment

class unreal.ListItemAlignment

Bases: unreal.EnumBase

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)

C++ Source:

  • Module: Slate

  • File: STableViewBase.h

CENTER_ALIGNED

Items are center aligned on the line (any extra space is halved and added to the left of the items)

Type

5

EVENLY_DISTRIBUTED

Items are distributed evenly along the line (any extra space is added as padding between the items)

Type

0

EVENLY_SIZE

Items are distributed evenly along the line (any extra space is used to scale up the size of the item proportionally.)

Type

1

EVENLY_WIDE

Items are distributed evenly along the line, any extra space is used to scale up width of the items proportionally.)

Type

2

FILL

Items are evenly stretched to distribute any extra space on the line

Type

6

LEFT_ALIGNED

Items are left aligned on the line (any extra space is added to the right of the items)

Type

3

RIGHT_ALIGNED

Items are right aligned on the line (any extra space is added to the left of the items)

Type

4