SBox::FArguments::WidthOverride

When specified, ignore the content's desired size and report the WidthOverride as the Box's desired width.

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Widgets/Layout/SBox.h"

Syntax

WidgetArgsType & WidthOverride
(
    const TAttribute< FOptionalSize > & InAttribute
)

Remarks

When specified, ignore the content's desired size and report the WidthOverride as the Box's desired width.

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