summaryrefslogtreecommitdiff
path: root/doc/classes/Button.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-26 17:34:07 +0200
committerGitHub <noreply@github.com>2021-10-26 17:34:07 +0200
commit344babb939194f50b83dee5dc051862447f27059 (patch)
treefea4cabe1ba8441f2b6e6f05cbf1352488dc5b0d /doc/classes/Button.xml
parent46a139a3cefe1d57172c36118ec8a151a4cf2920 (diff)
parent12838bd99dbb784ace55e4537eaebabeb435880a (diff)
Merge pull request #54267 from pycbouh/controls-button-font-focus
Diffstat (limited to 'doc/classes/Button.xml')
-rw-r--r--doc/classes/Button.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml
index dfbd6c0680..ba55fda59c 100644
--- a/doc/classes/Button.xml
+++ b/doc/classes/Button.xml
@@ -119,6 +119,9 @@
<theme_item name="font_disabled_color" 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_focus_color" 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_hover_color" 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>
@@ -143,6 +146,9 @@
<theme_item name="icon_disabled_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
Icon modulate [Color] used when the [Button] is disabled.
</theme_item>
+ <theme_item name="icon_focus_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
+ Icon modulate [Color] used when the [Button] is focused. Only replaces the normal modulate color of the button. Disabled, hovered, and pressed states take precedence over this color.
+ </theme_item>
<theme_item name="icon_hover_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
Icon modulate [Color] used when the [Button] is being hovered.
</theme_item>