UILabel: adjusting margins to match a UITextView

Posted by Aran Mulholland on Stack Overflow See other posts from Stack Overflow or by Aran Mulholland
Published on 2010-06-17T08:29:45Z Indexed on 2010/06/17 8:33 UTC
Read the original article Hit count: 638

I have a UILabel and if i adjust the size of the text i can make it look loke a UITextView however the left margin is different, on the UIlabel the text is right up against the left border where the UITextView has a slight margin. How do i adjust the UILabel so that when these controls are placed above one another, they look consistent?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about uitextfield