diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-17 13:54:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 13:54:53 +0100 |
commit | f9b4547abd4100bed868243779a7ab0ba84f4a5e (patch) | |
tree | 9aa91b4ef3f4d8bd8cbb8eb0fb120385ea585688 | |
parent | 7540da622d88f6e21d21940984225d8363515563 (diff) | |
parent | 2341c7bbd93e934647e25428b3656e439ade2b99 (diff) |
Merge pull request #55054 from KoBeWi/marginalized_icon
-rw-r--r-- | doc/classes/Button.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index ba55fda59c..d63bad7cad 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -78,6 +78,7 @@ </member> <member name="icon" type="Texture2D" setter="set_button_icon" getter="get_button_icon"> Button's icon, if text is present the icon will be placed before the text. + To edit margin and spacing of the icon, use [code]hseparation[/code] theme property of [Button] and [code]content_margin_*[/code] properties of the used [StyleBox]es. </member> <member name="icon_align" type="int" setter="set_icon_align" getter="get_icon_align" enum="Button.TextAlign" default="0"> Specifies if the icon should be aligned to the left, right, or center of a button. Uses the same [enum TextAlign] constants as the text alignment. If centered, text will draw on top of the icon. |