Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Chain | |
Old Version | Published before Godot 3 was released. |
Greetings!
I think the headline sums it up quite nicely.
I appreciate every answer
Have you tried using a CenterContainer
node? Try making the icon a child of the CenterContainer
node, and see what happens. You can also try using a BoxContainer
node, and using the set_alignment()
method to center it.
Ertain | 2017-12-15 21:06
Thanks for the reply. I have a Button and set an Icon for it (through Button Control Panel). CenterContainer and BoxContainer won’t have any affect, since the icon is inside the button / part of the button itself.
Chain | 2017-12-15 22:25