LogoObsidian

Divider

Dividers add simple separation between controls inside a groupbox.

Playground

Create Logs

Usage

You can create a Divider by calling the AddDivider method on a Groupbox.

Dividers are purely visual and do not expose configuration options or callbacks.

Arguments

Choose between positional arguments for quick calls or a configuration table for full control (allowing for custom top and bottom margin spacing).

Positional Arguments

Groupbox:AddDivider("This is a divider")
Arg IdxArgument DescriptionTypeDefault
1Text in the middle of the dividerstringnil

Table Parameters

Groupbox:AddDivider({
    Text = "This is a divider",
    MarginTop = 10,
    MarginBottom = 10
})

Prop

Type

On this page