Checkable button. See also [CheckBox].
CheckButton is a toggle button displayed as a check field. It's similar to [CheckBox] in functionality, but it has a different appearance. To follow established UX patterns, it's recommended to use CheckButton when toggling it has an [b]immediate[/b] effect on something. For instance, it should be used if toggling it enables/disables a setting without requiring the user to press a confirmation button.
See also [BaseButton] which contains common properties and methods associated with this node.
The [CheckButton] text's font color.
The [CheckButton] text's font color when it's disabled.
The [CheckButton] text's font color when it's focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
The [CheckButton] text's font color when it's hovered.
The [CheckButton] text's font color when it's hovered and pressed.
The tint of text outline of the [CheckButton].
The [CheckButton] text's font color when it's pressed.
The vertical offset used when rendering the toggle icons (in pixels).
The separation between the toggle icon and the text (in pixels).
The size of the text outline.
The [Font] to use for the [CheckButton] text.
Font size of the [CheckButton]'s text.
The icon to display when the [CheckButton] is unchecked (for left-to-right layouts).
The icon to display when the [CheckButton] is unchecked and disabled (for left-to-right layouts).
The icon to display when the [CheckButton] is unchecked and disabled (for right-to-left layouts).
The icon to display when the [CheckButton] is unchecked (for right-to-left layouts).
The icon to display when the [CheckButton] is checked (for left-to-right layouts).
The icon to display when the [CheckButton] is checked and disabled (for left-to-right layouts).
The icon to display when the [CheckButton] is checked and disabled (for right-to-left layouts).
The icon to display when the [CheckButton] is checked (for right-to-left layouts).
The [StyleBox] to display as a background when the [CheckButton] is disabled.
The [StyleBox] to display as a background when the [CheckButton] is focused. The [code]focus[/code] [StyleBox] is displayed [i]over[/i] the base [StyleBox], so a partially transparent [StyleBox] should be used to ensure the base [StyleBox] remains visible. A [StyleBox] that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a [StyleBoxEmpty] resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.
The [StyleBox] to display as a background when the [CheckButton] is hovered.
The [StyleBox] to display as a background when the [CheckButton] is hovered and pressed.
The [StyleBox] to display as a background.
The [StyleBox] to display as a background when the [CheckButton] is pressed.