unreal.StretchDirection

class unreal.StretchDirection

Bases: unreal.EnumBase

EStretch Direction

C++ Source:

  • Module: Slate

  • File: SScaleBox.h

BOTH

Will scale the content up or down.

Type

0

DOWN_ONLY

Will only make the content smaller, will never scale it larger than the content’s desired size.

Type

1

UP_ONLY

Will only make the content larger, will never scale it smaller than the content’s desired size.

Type

2