Skip to content

Respect style boxes for Button states other than "normal"

Created by: RayKoopa

Fixes https://github.com/godotengine/godot/issues/7570

Previously, only the "normal" state Button style box had an effect on the content alignment in the button. I made it respect whichever state is current and the one used to draw the background.

Merge request reports