How to arrange labels in a flowlayout manner?
Posted
by
Tim Büthe
on Stack Overflow
See other posts from Stack Overflow
or by Tim Büthe
Published on 2010-06-01T16:35:38Z
Indexed on
2011/01/01
4:53 UTC
Read the original article
Hit count: 135
How do I arrange some UILabels and/or UIButtons of a variable length? I just want to add them to a UITableViewCell and they should arrange in a left-to-right flow, much like lines of text in a paragraph.
I only found possibilities to create lables with a fixed size and position using "initWithFrame:...". Same seems to be true for Interface Builder, as far as I can tell. Any solution is appreciated no matter if it's done in code or using a custom cell XIB-file.
© Stack Overflow or respective owner