You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Add focus font color to Button and derivatives
This commit is contained in:
@@ -73,6 +73,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Text [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [Button] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
The check icon to display when the [CheckBox] is checked.
|
||||
</theme_item>
|
||||
<theme_item name="checked_disabled" data_type="icon" type="Texture">
|
||||
The check icon to display when the [CheckBox] is checked and disabled.
|
||||
</theme_item>
|
||||
<theme_item name="disabled" data_type="style" type="StyleBox">
|
||||
The [StyleBox] to display as a background when the [CheckBox] is disabled.
|
||||
@@ -41,6 +42,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
The [CheckBox] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The [CheckBox] text's font color when it's focused. Only replaces the normal text color of the checkbox. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The [CheckBox] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
@@ -79,6 +83,7 @@
|
||||
The check icon to display when the [CheckBox] is unchecked.
|
||||
</theme_item>
|
||||
<theme_item name="unchecked_disabled" data_type="icon" type="Texture">
|
||||
The check icon to display when the [CheckBox] is unchecked and disabled.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
The [CheckButton] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
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.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The [CheckButton] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.3 )">
|
||||
Text [Color] used when the [ColorPickerButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [ColorPickerButton] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [ColorPickerButton] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -42,6 +42,9 @@
|
||||
<theme_item name="font_color" data_type="color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default text [Color] of the [LinkButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [LinkButton] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [LinkButton] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -60,6 +60,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 1, 1, 1, 0.3 )">
|
||||
Text [Color] used when the [MenuButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [MenuButton] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [MenuButton] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -208,6 +208,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Text [Color] used when the [OptionButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [OptionButton] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [OptionButton] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
<theme_item name="font_color_disabled" data_type="color" type="Color" default="Color( 0.9, 0.95, 1, 0.3 )">
|
||||
Text [Color] used when the [ToolButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_focus" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [ToolButton] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" data_type="color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [ToolButton] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
Reference in New Issue
Block a user