[Button] Use align_to_largest_stylebox for min. size calculation.
This commit is contained in:
parent
6a13fdcae3
commit
41df3caad3
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue