ESlateSizeRule::Type

The sizing options of UWidgets

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/SlateWrapperTypes.h

Include

#include "Components/SlateWrapperTypes.h"

Syntax

namespace ESlateSizeRule
{
    enum Type
    {
        Automatic,
        Fill,
    }
}

Values

Name

Description

Automatic

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

Fill

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

Remarks

The sizing options of UWidgets

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