Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SBox.h |
| Include | #include "Widgets/Layout/SBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SBox >
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 & | HeightOverride
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, ignore the content's desired size and report the HeightOverride as the Box's desired height. | |
| WidgetArgsType & | MaxAspectRatio
(
const TAttribute< FOptionalSize >& InAttribute |
||
| WidgetArgsType & | MaxDesiredHeight
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, will report the MaxDesiredHeight if smaller than the content's desired height. | |
| WidgetArgsType & | MaxDesiredWidth
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, will report the MaxDesiredWidth if smaller than the content's desired width. | |
| WidgetArgsType & | MinAspectRatio
(
const TAttribute< FOptionalSize >& InAttribute |
||
| WidgetArgsType & | MinDesiredHeight
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, will report the MinDesiredHeight if larger than the content's desired height. | |
| WidgetArgsType & | MinDesiredWidth
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, will report the MinDesiredWidth if larger than the content's desired width. | |
| WidgetArgsType & | Padding
(
const TAttribute< FMargin >& InAttribute |
Padding between the SBox and the content that it presents. | |
| FArguments & | Padding
(
float Uniform |
||
| FArguments & | Padding
(
float Horizontal, |
||
| FArguments & | Padding
(
float Left, |
||
| WidgetArgsType & | VAlign
(
EVerticalAlignment InArg |
Vertical alignment of content in the area allotted to the SBox by its parent | |
| WidgetArgsType & | WidthOverride
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, ignore the content's desired size and report the WidthOverride as the Box's desired width. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | operator[]
(
const TSharedRef< SWidget >& InChild |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |