mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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`.
This commit is contained in:
@@ -246,7 +246,7 @@
|
||||
The horizontal space between the arrow icon and the right edge of the button.
|
||||
</theme_item>
|
||||
<theme_item name="h_separation" data_type="constant" type="int" default="2">
|
||||
The horizontal space between [OptionButton]'s icon and text.
|
||||
The horizontal space between [OptionButton]'s icon and text. Negative values will be treated as [code]0[/code] when used.
|
||||
</theme_item>
|
||||
<theme_item name="modulate_arrow" data_type="constant" type="int" default="0">
|
||||
If different than [code]0[/code], the arrow icon will be modulated to the font color.
|
||||
|
||||
Reference in New Issue
Block a user