Re: How to set UILabel height to even multiple of line height with auto-layout?

2014-09-10 Thread Steve Christensen
That's not the issue I'm having. Let's say, for example, that label3 contains abcdefghijklmnopqrstuvwxyz; the line height for the font 10; and when the label is laid out the label height is 25. This results in a label that looks like this: +——+ |abcdefghij| |klmnopqrst| |(blank) |

How to set UILabel height to even multiple of line height with auto-layout?

2014-09-09 Thread Steve Christensen
I have a UITableViewCell with several stacked UILabels: - label1: set to 1 line, height = single line height, fixed bottom spacing - label2: set to 2 lines, height ≥ single line height, fixed bottom spacing - label3: set to 0 lines, height ≥ single line height, bottom spacing ≥ min spacing The