I am making a
CheckButton for toggling sound in my game. I have created an on and off icon for this purpose. I have two other
Buttons in a
VBoxContainer with this
CheckButton, whose icons are the same size as the icons for my
For the regular
Buttons, I was able to check the "Expand Icon" option to make the icons shrink to fit the size of the button.
However, the same does not appear to work for the
CheckButton. For that, I had to override the "icons" in the theme overrides. As far as I can tell, the "Expand Icon" option does not affect these icons.
This results in the following undesirable behavior. All of these icons' backing files are the same size, but only the
CheckButton (the speaker button at the top) is not shrinking.
I could easily make the icons just smaller, but that feels like a cop-out. Am I missing a setting somewhere?