summaryrefslogtreecommitdiff
path: root/doc/classes/CheckButton.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-16 15:39:48 +0100
committerGitHub <noreply@github.com>2021-12-16 15:39:48 +0100
commitc33e84fe8cd37d540efd14154c065de4de944734 (patch)
tree846e0f8df5f67e44273b46ccf15e60377ee5efb2 /doc/classes/CheckButton.xml
parent61c8ea7b14143785836531e99d0eaef8d2eca704 (diff)
parenta1ab50a9f050bbd0ef5af4c799743e7aea46c48f (diff)
Merge pull request #55165 from Calinou/doc-gui-theme-item-focus-transparent
Diffstat (limited to 'doc/classes/CheckButton.xml')
-rw-r--r--doc/classes/CheckButton.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CheckButton.xml b/doc/classes/CheckButton.xml
index cf3aa869c3..659fb5126f 100644
--- a/doc/classes/CheckButton.xml
+++ b/doc/classes/CheckButton.xml
@@ -78,7 +78,7 @@
The [StyleBox] to display as a background when the [CheckButton] is disabled.
</theme_item>
<theme_item name="focus" data_type="style" type="StyleBox">
- The [StyleBox] to display as a background when the [CheckButton] is focused.
+ 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.
</theme_item>
<theme_item name="hover" data_type="style" type="StyleBox">
The [StyleBox] to display as a background when the [CheckButton] is hovered.