Navigation
API > API/Runtime > API/Runtime/Slate
| Name | EStretchDirection::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScaleBox.h |
| Include Path | #include "Widgets/Layout/SScaleBox.h" |
Syntax
namespace EStretchDirection
{
enum Type
{
Both,
DownOnly,
UpOnly,
}
}
Values
| Name | Remarks |
|---|---|
| Both | Will scale the content up or down. |
| DownOnly | Will only make the content smaller, will never scale it larger than the content's desired size. |
| UpOnly | Will only make the content larger, will never scale it smaller than the content's desired size. |