One of my apps rely heavily on dynamic text-button creation. The buttons have varying width and height. For this I used the old widget API with the following properties:
[text]
defaultColor, overColor
strokeColor, strokeWidth
cornerRadius
[/text]
With the old API I just needed to set the width, height, cornerRadius=(height/2), defaultColor, overColor and label to get the button I wanted. No images necessary.
With the new 2.0 API I would need to create 54 images per button. That’s 18 images (9 default + 9 over) for each resolution. I support standard, retina and iPad-retina, which would mean 18 * 3 = 54 images for each button-height. Since I want to have half-circles on each end of the button, and I have buttons of varying height, the number of images quickly become way too many for what I think is necessary.
Please, please consider putting back these properties.
[import]uid: 70847 topic_id: 36225 reply_id: 336225[/import]