EStretchDirection::Type

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScaleBox.h

Include

#include "Widgets/Layout/SScaleBox.h"

Syntax

namespace EStretchDirection
{
    enum Type
    {
        Both,
        DownOnly,
        UpOnly,
    }
}

Values

Name

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss