PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

ButtonStyle

ButtonStyle

Used by GuiButton/Style to set a special hardcoded appearance.

These should generally be avoided in favor of setting other appearance properties, but
they can be useful for wireframing.

Despite the Roblox naming, these are not used by any official Roblox UI.


Enums

Name Value Description

Custom

0

The button will respect the GuiObject/BorderColor3 and GuiObject/BackgroundColor3 properties.

RobloxButtonDefault

1

A black background with a red border, and rounded corners.

RobloxButton

2

A black background with a grey border, and rounded corners.

RobloxRoundButton

3

A grey background with rounded corners, and a slight drop shadow.

RobloxRoundDefaultButton

4

A blue background with rounded corners, and a slight drop shadow.

RobloxRoundDropdownButton

5

A white background with a thin grey border, rounded corners, and a slight drop shadow.