unreal.SlateSizeRule

class unreal.SlateSizeRule

Bases: EnumBase

The sizing options of UWidgets

C++ Source:

  • Module: UMG

  • File: SlateWrapperTypes.h

AUTOMATIC: SlateSizeRule

Only requests as much room as it needs based on the widgets desired size.

Type:

0

FILL: SlateSizeRule

Greedily attempts to fill all available room based on the percentage value 0..1

Type:

1