Mention how to add margins to Button's icon
(cherry picked from commit 2341c7bbd9
)
This commit is contained in:
parent
f737ed4da0
commit
cce91ce6e0
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="icon" type="Texture" setter="set_button_icon" getter="get_button_icon">
|
<member name="icon" type="Texture" setter="set_button_icon" getter="get_button_icon">
|
||||||
Button's icon, if text is present the icon will be placed before the text.
|
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>
|
||||||
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
||||||
The button's text that will be displayed inside the button's area.
|
The button's text that will be displayed inside the button's area.
|
||||||
|
|
Loading…
Reference in a new issue