twitter/twui — Issue #100: TUIButton does not render properly?
Author: galaxas0
Created: 2012-02-25 05:24:45+00:00
State: open

I'm trying to use TUIButton without external graphics, so I'm using setDrawRect: and calling the TUIButton's drawRect from within that, but I notice that the label is horribly placed, and the states aren't defined well. Is there a way to set custom Core Graphics "drawRects" for TUIButtons on different states? And how should I go about fixing the position of the label? I've looked through TUIButton's implementation, but I don't see how it draws incorrectly.