Set a new image for this button
Prefer using this over setNormalImage as the latter does not actually
handle any of the special sizing operations [CCMenuItemSpriteExtra](/classes/CCMenuItemSpriteExtra) has
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>Set a new image for this button
Prefer using this over setNormalImage as the latter does not actually
handle any of the special sizing operations [CCMenuItemSpriteExtra](/classes/CCMenuItemSpriteExtra) has
sprite
ℹ Geode additi *
Update the sizing of this button’s image
If you for example have a [ButtonSprite](/classes/ButtonSprite) on this button and change the
text, you need to call updateSprite afterwards to fix the button’s
content size
ℹ Geode additi *