开发者

TileList custom ImageCell, buttons/sprites on each image

开发者 https://www.devze.com 2023-01-31 02:08 出处:网络
Hi im trying to add some buttons or sprites on each of TileList i开发者_如何转开发tems, i even made my own ImageCell class and inject some code that adds sprite on each image but it is not clickable -

Hi im trying to add some buttons or sprites on each of TileList i开发者_如何转开发tems, i even made my own ImageCell class and inject some code that adds sprite on each image but it is not clickable - all clicks are reffering to "object MyImageCell" not that specific sprite, is there a solution for this or any other way for adding some content on TileList items?


I think you have the some problem as I met.In your MyImageCell class add this property:this.mouseChildren = true; Hope this can help.

0

精彩评论

暂无评论...
验证码 换一张
取 消