Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SSafeZone
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSafeZone::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSafeZone.h |
| Include | #include "Widgets/Layout/SSafeZone.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSafeZone >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| NamedSlotProperty< FArguments > | Content () |
The widget content presented by the SBox | |
| WidgetArgsType & | HAlign
(
EHorizontalAlignment InArg |
Horizontal alignment of content in the area allotted to the SBox by its parent | |
| WidgetArgsType & | IsTitleSafe
(
bool InArg |
True if the zone is TitleSafe, otherwise it's ActionSafe | |
| WidgetArgsType & | OverrideDpiScale
(
TOptional< float > InArg |
Force a particular screen size to be used instead of the reported device size. | |
| WidgetArgsType & | OverrideScreenSize
(
TOptional< FVector2D > InArg |
Force a particular screen size to be used instead of the reported device size. | |
| WidgetArgsType & | PadBottom
(
bool InArg |
If this safe zone should pad for the bottom of the screen's safe zone | |
| WidgetArgsType & | Padding
(
const TAttribute< FMargin >& InAttribute |
Padding between the SBox and the content that it presents. | |
| WidgetArgsType & | PadLeft
(
bool InArg |
If this safe zone should pad for the left side of the screen's safe zone | |
| WidgetArgsType & | PadRight
(
bool InArg |
If this safe zone should pad for the right side of the screen's safe zone | |
| WidgetArgsType & | PadTop
(
bool InArg |
If this safe zone should pad for the top of the screen's safe zone | |
| WidgetArgsType & | SafeAreaScale
(
FMargin InArg |
The scalar to apply to each side we want to have safe padding for. | |
| WidgetArgsType & | VAlign
(
EVerticalAlignment InArg |
Vertical alignment of content in the area allotted to the SBox by its parent |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | operator[]
(
const TSharedRef< SWidget >& InChild |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |