FArguments

Unreal Engine C++ API Reference > Developer > ToolWidgets > Dialog > SCustomDialog

Inheritance Hierarchy

References

   
Module ToolWidgets
Header /Engine/Source/Developer/ToolWidgets/Public/Dialog/SCustomDialog.h
Include #include "Dialog/SCustomDialog.h"

Syntax

struct FArguments : public [TSlateBaseNamedArgs< SCustomDialog >](API\Runtime\SlateCore\Widgets\TSlateBaseNamedArgs)  

Variables

Type Name Description
TSharedPtr< SWi... _DialogContent Content for the dialog (deprecated - use Content instead)

Constructors

Type Name Description
  FArguments ()  

Functions

Type Name Description
WidgetArgsTy... AutoCloseOnButtonPress ( bool InArg ) Whether to automatically close this window when any button is pressed (default: true)
NamedSlotPro... BeforeButtons () Custom widget placed before the buttons
WidgetArgsTy... ButtonAreaPadding ( const TAttribute< FMargin >& InAtt... ) Padding to apply around the layout holding the buttons (default: {20,0,0,0})
WidgetArgsTy... Buttons ( TArray< FButton > InArg ) The buttons that this dialog should have. One or more buttons must be added.
NamedSlotPro... Content () The content to display above the button; icon is optionally created to the left of it.
WidgetArgsTy... ContentAreaPadding ( const TAttribute< FMargin >& InAtt... ) Padding to apply to DialogContent - you can use it to move away from the icon (default: {0,0,0,0})
WidgetArgsTy... DialogContent ( TSharedPtr< SWidget > InArg )  
WidgetArgsTy... HAlignButtonBox ( EHorizontalAlignment InArg ) HAlign to use for Button Box slot (default: HAlign_Left)
WidgetArgsTy... HAlignContent ( EHorizontalAlignment InArg ) HAlign to use for Content slot (default: HAlign_Left)
WidgetArgsTy... HAlignIcon ( EHorizontalAlignment InArg ) Alignment of icon (default: HAlign_Left)
WidgetArgsTy... Icon ( const TAttribute< const FSlateBrush... ) Optional icon to display (default: empty, translucent)
WidgetArgsTy... IconDesiredSizeOverride ( const TAttribute< TOptional< FVecto... ) When specified, ignore the brushes size and report the DesiredSizeOverride as the desired image size (default: use icon size)
WidgetArgsTy... OnClosed ( const FSimpleDelegate& InDelegate ) Event triggered when the dialog is closed, either because one of the buttons is pressed, or the windows is closed.
WidgetArgsTy... RootPadding ( const TAttribute< FMargin >& InAtt... ) Padding to apply to the widget embedded in the window, i.e. to all widgets contained in the window (default: {4,4,4,4} )
WidgetArgsTy... ScrollBoxMaxHeight ( int32 InArg ) Max height for the scroll box (default: 300)
WidgetArgsTy... Title ( FText InArg ) Title to display for the dialog.
WidgetArgsTy... UseScrollBox ( bool InArg ) Should this dialog use a scroll box for over-sized content? (default: true)
WidgetArgsTy... VAlignButtonBox ( EVerticalAlignment InArg ) VAlign to use for Button Box slot (default: VAlign_Center)
WidgetArgsTy... VAlignContent ( EVerticalAlignment InArg ) VAlign to use for Content slot (default: VAlign_Center)
WidgetArgsTy... VAlignIcon ( EVerticalAlignment InArg ) Alignment of icon (default: VAlign_Center)
WidgetArgsTy... WindowArguments ( SWindow::FArguments InArg ) Provides default values for SWindow::FArguments not overriden by SCustomDialog.

Typedefs

Name Description
WidgetArgsType  

Deprecated Functions

Type Name Description
FArguments & IconBrush ( FName InIconBrush ) Use Icon() instead

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library