Creating Buttons
Creation Snippet
local Button = Groupbox:CreateButton({
Name = "Button",
Icon = NebulaIcons:GetIcon('check', 'Material'),
Callback = function()
end,
}, "INDEX")
This is just a snippet, not all parameters are included
Replace INDEX with a unique identifier of the instance that is not repeated.
Parameters
Name : string
The Text that shows in the button.
Tooltip : string NOT REQUIRED
A Description that shows up after hovering over the element after a short amount of time.
Icon : number NOT REQUIRED
The Icon that shows up next to the title.
Callback : function
The function that executes when the button is pressed.
CenterContent : boolean NOT REQUIRED
Whether to center the text of the button like Linoria.
IndicatorStyle : number NOT REQUIRED
The type of icon at the right side.
1 for chevron, 2 for fingerprint, nil for none. Defaulted to none.
Style : number NOT REQUIRED
The Style of the button. Current Styles : 1,2.