I have been using the Glass Button Generator from here to generate PNGs on iOS that look like UIGlassButtons yet don't use the UIGlassButton class (since it's private). These are then set as the image for custom UIButton instances. Works really nicely and looks great.
However I am now in a situation where I need to set the text on the buttons dynamically at runtime. The above approach won't work. I also need to dynamically set the size of the button in at least the vertical dimension.
UIButton as-is looks pretty ugly and flat. There must be some way of generating attractive buttons at runtime?
Non monotouch-specific solutions welcome, easy enough to translate.
Cheers in advance.