Container

The main component. Creates a Frame in which all elements are placed.

Create Frame

local Container = PluginComponents.Component.Container.New();

Container.SetParent(script.Parent)

.SetHeight(0, 600)

.SetWidth(0,360)

Create ScrollFrame

If you need to scroll through the window there is a second frame option

local Container = PluginComponents.Component.Container.New(PluginComponents.Component.Container.DesignVariant.Scroll);

Container.SetParent(script.Parent)

.SetHeight(0, 600)

.SetWidth(0,360)

Methods

.SetHeight(Scale,Offset) .SetWidth(Scale,Offset)

Changes the size of the Frame.

.Resize()

Adapts Frame size to the elements inside

.CollumMode()

Switches to speaker mode. All elements inside will be built horizontally. Suitable for custom Tabbar or Bottombar

Inherited from BaseComponent

Additional methods:

Properties

.isAutoResize = true

This parameter disables the automatic triggering of Resize()

Last updated