Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/TResizingWidgetSlotMixin
Description
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.
| Name | SetSizeToStretch |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/BasicLayoutWidgetSlot.h |
| Include Path | #include "Layout/BasicLayoutWidgetSlot.h" |
void SetSizeToStretch
(
TAttribute < float > InStretchCoefficient
)
Parameters
| Name | Remarks |
|---|---|
| InStretchCoefficient | Stretch coefficient for this slot. |