⚖️ ScaleBox

Allows you to place content with a desired size and have it scale to meet the constraints placed on this box's allocated area.

This class shares methods and events from Panel Widget.

The Panel Slot of this Panel is ScaleBoxSlot.


🦠 Functions

SetStretch

MyScaleBox:SetStretch(Stretch)
Type
Parameter
Description

Stretch

SetStretchDirection

MyScaleBox:SetStretchDirection(Direction)
Type
Parameter
Description

SetUserSpecifiedScale

MyScaleBox:SetUserSpecifiedScale(Scale)
Type
Parameter
Description

Scale

SetIgnoreInheritedScale

MyScaleBox:SetIgnoreInheritedScale(IgnoreInheritedScale)
Type
Parameter
Description

IgnoreInheritedScale

Last updated