TextureButton does not resize to smaller size in HBoxContainer

Godot Version

4.2.1

Question

I want to achieve something like the below in my HBoxContainer (using a TextureRect for the Play symbol here)

But when I use a TextureButton button instead it looks like

How can I get the TextureButton to also scale down instead of using the texture’s original size?

Max

1 Like

Ah, think I found it! Playing with Ignore Texture Size, Stretch Mode and Minimum Size did the trick :slight_smile:

3 Likes

You are a lifesaver! :pray:

1 Like