diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-06-28 19:05:01 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-07-04 09:40:55 +0300 |
commit | 41df3caad38bebaf4e449d72933ec0681c1ac09a (patch) | |
tree | 6d432c8e82ff886fe6e8cf120ac0a1c4481e72c5 /doc/classes/Button.xml | |
parent | 6a13fdcae3662975c101213d47a1eb3a7db63cb3 (diff) | |
download | redot-engine-41df3caad38bebaf4e449d72933ec0681c1ac09a.tar.gz |
[Button] Use align_to_largest_stylebox for min. size calculation.
Diffstat (limited to 'doc/classes/Button.xml')
-rw-r--r-- | doc/classes/Button.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index 98f25ed573..68fb918904 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -119,7 +119,7 @@ Icon modulate [Color] used when the [Button] is being pressed. </theme_item> <theme_item name="align_to_largest_stylebox" data_type="constant" type="int" default="0"> - This constant acts as a boolean. If [code]true[/code], text and icon are always aligned to the largest stylebox margins, otherwise it's aligned to the current button state stylebox margins. + This constant acts as a boolean. If [code]true[/code], the minimum size of the button and text/icon alignment is always based on the largest stylebox margins, otherwise it's based on the current button state stylebox margins. </theme_item> <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal space between [Button]'s icon and text. Negative values will be treated as [code]0[/code] when used. |