πŸͺŸ WrapBox

Arranges widgets left-to-right or top-to-bottom dependently of the orientation.

This class shares methods and events from Panel Widget.

The Panel Slot of this Panel is WrapBoxSlot.

πŸ›  Constructor

local MyWrapBox = WGUI.Create(WrapBox, nil, WrapBoxOrientation)
Type
Name
Default

WrapBoxOrientation

🦠 Functions

SetOrientation

WrapBox:SetOrientation(Orientation)
Type
Parameter
Description

Orientation

SetInnerSlotPadding

WrapBox:SetInnerSlotPadding(SlotPadding)
Type
Parameter
Description

SlotPadding

SetWrapSize

WrapBox:SetWrapSize(WrapSize)
Type
Parameter
Description

WrapSize

SetExplicitWrapSize

WrapBox:SetExplicitWrapSize(ExplicitWrapSize?)
Type
Parameter
Description

ExplicitWrapSize?

Last updated