Automatic masks for scrollView and tableView widgets

I use scrollView and tableView widgets in my games. And, depending on the size of the screen, I will size the widgets accordingly. But because I have to support multiple-sized widgets, I have to create multiple mask files, one for each of the pre-set widget sizes that I choose to use in my game.

I’ve gotten very good at making these mask files, and I find that when I make the mask files in Photoshop, all I’m doing is creating an image that is 4 pixels wider and longer than my widget size, and creating a white image with a 2 pixel black border. And all I’m doing is following Corona’s tutorial on making mask files.

So the question is this – since the mask file is such a simple thing, why can’t Corona generate and use mask files automatically for us? Seems that Corona can just take our widget size, then, in memory, create a white image with a 2 pixel black border for use as the mask.

This would be nice then I could programmatically set the size of my widgets and not have to worry about pre-generating a mask file for every possible size. [import]uid: 92621 topic_id: 33255 reply_id: 333255[/import]

I have asked for that feature too. There really isn’t much of a reason to not do it, other than where it fits into the existing product backlog. Corona Labs has a big list of higher priority items we are demanding first. [import]uid: 19626 topic_id: 33255 reply_id: 132167[/import]

I have asked for that feature too. There really isn’t much of a reason to not do it, other than where it fits into the existing product backlog. Corona Labs has a big list of higher priority items we are demanding first. [import]uid: 19626 topic_id: 33255 reply_id: 132167[/import]

I really hope to see automated mask feature soon. It’s just a hassle making these mask files every time we create a newTable or newScrool View widget [import]uid: 147340 topic_id: 33255 reply_id: 132709[/import]

I really hope to see automated mask feature soon. It’s just a hassle making these mask files every time we create a newTable or newScrool View widget [import]uid: 147340 topic_id: 33255 reply_id: 132709[/import]

yes please [import]uid: 118012 topic_id: 33255 reply_id: 139775[/import]

yes please [import]uid: 118012 topic_id: 33255 reply_id: 139775[/import]