Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SBoxPanel > API/Runtime/SlateCore/Widgets/SBoxPanel/TSlot
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
Include | #include "Widgets/SBoxPanel.h" |
void SetSizeToStretch
(
TAttribute < float > InStretchCoefficient
)
Remarks
The available space will be distributed proportionately to each slots stretch coefficient. A slot with coefficient of 2 will get assigned twice as much available space as slot with coefficient 1.
Parameters
Name | Description |
---|---|
InStretchCoefficient | Stretch coefficient for this slot. |