Anuken/Arc

Mindustry `Icon`s Ignore Being Resized

MEEPofFaith opened this issue · 3 comments

image

My futile attempts to get the icon to resize:
image

(Using 2 because it's really small and would be easily visible in the case that it actually worked, which it didn't.)

Solution: Set the button size in defaults().size(#), then set the icons with new TextureRegionDrawable(Icon.<whatever>)

why does it have to be like this

Those icons are special drawables that enforce specific size constraints, this is unrelated to Arc.

I see