UWidget::BuildDesignTimeWidget

Utility method for building a design time wrapper widget.

Windows
MacOS
Linux

Deprecated

  • Don't call this function in RebuildWidget any more. Override RebuildDesignWidget, and build the wrapper there; widgets that derive from Panel already do this. If you need to recreate the dashed outline you can use CreateDesignerOutline inside RebuildDesignWidget.

References

Module

UMG

Header

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

Include

#include "Components/Widget.h"

Syntax

TSharedRef< SWidget > BuildDesignTimeWidget
(
    TSharedRef< SWidget > WrapWidget
)

Remarks

Utility method for building a design time wrapper widget.

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