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
MacOS (ARM): 0x218bd0
MacOS (Intel): 0x272d00
Windows: 0x43cc0
iOS: 0x223cdc
Android
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
MacOS (ARM): 0x218c88
MacOS (Intel): 0x272d90
Windows: 0x43d60
iOS: 0x223d80
Android
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: 0x223f04
Android
MacOS (ARM): 0x218e14
MacOS (Intel): 0x272f20
Windows: 0x43ec0
Android
MacOS (ARM): 0x218f64
MacOS (Intel): 0x273090
Windows: 0x43fd0
Android
MacOS (ARM): 0x2191a4
MacOS (Intel): 0x273300
Windows: 0x441f0
Android
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
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 *
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
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 *