Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SHorizontalBox
Inheritance Hierarchy
- TWidgetSlotWithAttributeSupport
- TPaddingWidgetSlotMixin
- TAlignmentWidgetSlotMixin
- TBasicLayoutWidgetSlot
- SBoxPanel::TSlot
- SHorizontalBox::FSlot
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
| Include | #include "Widgets/SBoxPanel.h" |
Syntax
class FSlot : public SBoxPanel::TSlot< FSlot >
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FChildren& SlotOwner, |
||
| void | SetAutoWidth () |
The widget's DesiredSize will be used as the space required. | |
| void | SetFillWidth
(
TAttribute< float > InStretchCoefficient |
The available space will be distributed proportionately. | |
| void | SetMaxWidth
(
TAttribute< float > InMaxWidth |
Set the max size in SlateUnit this slot can be. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSlotArguments |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FSlot & | AutoWidth () |
Chained AutoWidth is deprecated. Use the FSlotArgument or SetAutoWidth | |
| FSlot & | FillWidth
(
TAttribute< float > InStretchCoefficient |
Chained FillWidth is deprecated. Use the FSlotArgument or SetFillWidth | |
| FSlot & | MaxWidth
(
TAttribute< float > InMaxWidth |
Chained MaxWidth is deprecated. Use the FSlotArgument or SetMaxWidth |