Navigation
API > API/Runtime > API/Runtime/SlateCore
Mixin to add the padding functionality to a base slot that is also a single children.
| Name | TPaddingSingleWidgetSlotMixin |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/BasicLayoutWidgetSlot.h |
| Include Path | #include "Layout/BasicLayoutWidgetSlot.h" |
Syntax
template<typename MixedIntoType, EInvalidateWidgetReason InPaddingInvalidationReason>
class TPaddingSingleWidgetSlotMixin
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPaddingSingleWidgetSlotMixin
(
WidgetType& InParent |
Layout/BasicLayoutWidgetSlot.h | ||
TPaddingSingleWidgetSlotMixin
(
WidgetType& InParent, |
Layout/BasicLayoutWidgetSlot.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArgumentsMixin |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SlotPaddingAttributeRefType | SlateAttributePrivate::TSlateMemberAttributeRef< SlotPaddingAttributeType > | Layout/BasicLayoutWidgetSlot.h | |
| SlotPaddingAttributeType | SlateAttributePrivate::TSlateMemberAttribute< FMargin, SlotPaddingInvalidationType, TSlateAttributeComparePredicate<> > | Layout/BasicLayoutWidgetSlot.h | |
| SlotPaddingInvalidationType | typename std::conditional< InPaddingInvalidationReason==EInvalidateWidgetReason::None, ::SlateAttributePrivate::FSlateAttributeNoInvalidationReason, TSlateAttributeInvalidationReason< InPaddingInvalidationReason > >::type | Layout/BasicLayoutWidgetSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMargin GetPadding() |
Layout/BasicLayoutWidgetSlot.h | ||
SlotPaddingAttributeRefType GetSlotPaddingAttribute() |
Layout/BasicLayoutWidgetSlot.h | ||
MixedIntoType & Padding
(
TAttribute< FMargin > InPadding |
Padding will be deprecated soon. Use SetPadding or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h | |
MixedIntoType & Padding
(
float Uniform |
Padding will be deprecated soon. Use SetPadding or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h | |
MixedIntoType & Padding
(
float Horizontal, |
Padding will be deprecated soon. Use SetPadding or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h | |
MixedIntoType & Padding
(
float Left, |
Padding will be deprecated soon. Use SetPadding or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h | |
void SetPadding
(
TAttribute< FMargin > InPadding |
Layout/BasicLayoutWidgetSlot.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConstructMixin
(
FSlotArgumentsMixin&& InArgs |
Layout/BasicLayoutWidgetSlot.h |