I have one big texture generated with TexturePacker.
I can easily create sprites with using it by simply calling createwithSpriteFrameName()
How to do that in widgets for example button?
I make buttons all the time but not from widgets. Any sprite could be a button. You could even use MenuItemImage
Yes but it is just way faster to ues new GUI system.
Anyway I found a solution:
Last parameter in create() method is TextureResType which can be LOCAL or PLIST.