-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention how to add margins to Button's icon #55054
Conversation
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we still lack support for [theme_item hseparation]
even after #29868 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a suspicion that operators and constructors don't have their own tags either 👀 (And they are also missing from doc status).
Thanks! |
Cherry-picked for 3.5. |
Cherry-picked for 3.4.1. |
Closes #23828