Multiple Lines in NSTextFieldCell
How can I have multiple lines in my NSTextFieldCell in my NSTableView? By this I mea开发者_运维百科n have multiple lines of data:
Ex
Stack Overflow www.stackoverflow.com
turns into this:
Stack Overflow
www.stackoverflow.com
Parts of the solution would involve telling the cell that the text can wrap, and telling the table that the row heights vary. Getting the details right seems to be a tricky problem, or at least it was in 2005 when this discussion was written.
精彩评论