summaryrefslogtreecommitdiff
path: root/doc/classes/CheckButton.xml
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-08-12 19:39:22 +0800
committerRindbee <idleman@yeah.net>2022-08-12 19:57:08 +0800
commit4a3a15c30433f1c9b28873a74c23bec6564a3bc8 (patch)
tree4c5895554974929b6a4fa6975084f2d0f1b681ba /doc/classes/CheckButton.xml
parent67d40155206e7c15575ec9bd5b609075784ed746 (diff)
Fix case where `h_separation` might not work in `Button`
This patch mainly solves two things: 1. The typo of `h_separation`; 2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
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 51b0411f4e..f49da69926 100644
--- a/doc/classes/CheckButton.xml
+++ b/doc/classes/CheckButton.xml
@@ -39,7 +39,7 @@
The vertical offset used when rendering the toggle icons (in pixels).
</theme_item>
<theme_item name="h_separation" data_type="constant" type="int" default="4">
- The separation between the toggle icon and the text (in pixels).
+ The separation between the toggle icon and the text (in pixels). Negative values will be treated as [code]0[/code] when used.
</theme_item>
<theme_item name="outline_size" data_type="constant" type="int" default="0">
The size of the text outline.