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 | SetFillContentWidth
(
TAttribute< float > InStretchCoefficient, |
The widget's content size is adjusted proportionally to fit the available space. |
![]() |
void | SetFillWidth
(
TAttribute< float > InStretchCoefficient |
The available space will be distributed proportionately to each slots stretch coefficient. |
![]() |
void | SetMaxWidth
(
TAttribute< float > InMaxWidth |
Set the max size in SlateUnit this slot can be. |
![]() |
void | SetMinWidth
(
TAttribute< float > InMinWidth |
Set the min size in SlateUnit this slot can be. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FSlotArguments |