Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davbeck

macrumors regular
Original poster
May 16, 2008
104
0
Reno, NV
Is there a way to left and right align text on a label? Maybe using stringWithFormat? I don't want to place the right string so many characters over, I want the right side of the string on the right side of the label and vice versa for the left string.

Code:
|left     right|
|not      this |
 
I was hoping to use one per row. The example above has 2 rows.

I want to avoid using two labels because ideally, if there was too much for one line, it would be truncated (possibly in the middle).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.