Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SScrollBox > API/Runtime/Slate/SScrollBox/FSlot > API/Runtime/Slate/SScrollBox/FSlot/FSlotArguments
Description
The widget's content size is adjusted proportionally to fit the available space. The slots size starts at DesiredSize, and a slot with coefficient of 2 will get adjusted twice as much as slot with coefficient 1 to fit the available space.
| Name | FillContentSize |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBox.h |
| Include Path | #include "Widgets/Layout/SScrollBox.h" |
FSlotArguments & FillContentSize
(
TAttribute < float > InStretchCoefficient,
TAttribute < float > InShrinkStretchCoefficient
)
Parameters
| Name | Remarks |
|---|---|
| InStretchCoefficient | Stretch coefficient for this slot. |
| InShrinkStretchCoefficient | If specified, this stretch coefficient is used when the slots is shrinking below desired size. Otherwise InStretchCoefficient is used for both shrink and grow. |