UILabel: vertical alignment

Posted by Stefan on Stack Overflow See other posts from Stack Overflow or by Stefan
Published on 2009-06-28T08:54:03Z Indexed on 2010/04/18 21:13 UTC
Read the original article Hit count: 650

Filed under:
|
|
|
|

Hi,

I have an UILabel with two lines. Sometimes it's text is short. Then the text gets displayed in the center (vertically) of the UILabel.

How do I align my text at the top (vertically)?

alt text

Regards...

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk