ui.newButton on retina displays

Hello,

I am using the imageSuffix config option to display images on both iPhone and iPhone4. It is working really well.

However, when I create buttons using ui.newButton , they use the low-res images.

Is there a parameter that I can set to get the buttons to use the high res graphics on iPhone 4?

Thanks,

Seamus [import]uid: 56440 topic_id: 13025 reply_id: 313025[/import]

That might help :slight_smile:

http://developer.anscamobile.com/code/enhanced-ui-library-uilua [import]uid: 10478 topic_id: 13025 reply_id: 47835[/import]

Wow, just what I needed!
Works great.

Thanks a lot, PixelEnvision

Seamus [import]uid: 56440 topic_id: 13025 reply_id: 47867[/import]

This also seems to have solved a problem I was having with buttons not working on top of a scrollView. Two birds with one stone!

Cheers,

Seamus [import]uid: 56440 topic_id: 13025 reply_id: 47869[/import]

I’m glad it solved your problems :slight_smile: [import]uid: 10478 topic_id: 13025 reply_id: 47909[/import]