FUIButtonStyle
in package
Table of Contents
Properties
- $backgroundColor : VGColor
- The background color for primary buttons
- $cornerRadius : float
- The corner radius for buttons
- $disabledBackgroundColor : VGColor
- The disabled button background color
- $disabledTextColor : VGColor
- The disabled button text color
- $fontSize : float
- The font size for buttons
- $hoverBackgroundColor : VGColor
- The background color for buttons when hovered
- $hoverTextColor : VGColor
- the text color for the button in hover state
- $padding : Vec4
- Padding for buttons
- $textColor : VGColor
- The text color for buttons
Methods
- primary() : self
- Returns the primary button style (This is just an alias for FlyUI::$instance->theme->primaryButton)
- secondary() : self
Properties
$backgroundColor
The background color for primary buttons
public
VGColor
$backgroundColor
$cornerRadius
The corner radius for buttons
public
float
$cornerRadius
$disabledBackgroundColor
The disabled button background color
public
VGColor
$disabledBackgroundColor
$disabledTextColor
The disabled button text color
public
VGColor
$disabledTextColor
$fontSize
The font size for buttons
public
float
$fontSize
$hoverBackgroundColor
The background color for buttons when hovered
public
VGColor
$hoverBackgroundColor
$hoverTextColor
the text color for the button in hover state
public
VGColor
$hoverTextColor
$padding
Padding for buttons
public
Vec4
$padding
$textColor
The text color for buttons
public
VGColor
$textColor
Methods
primary()
Returns the primary button style (This is just an alias for FlyUI::$instance->theme->primaryButton)
public
static primary() : self
Return values
selfsecondary()
public
static secondary() : self