Re: Displaying NSAttributedStrings in an NSTableView with non-uniform row height

2008-05-22 Thread Jens Alfke
On 22 May '08, at 5:53 AM, Christian Moen wrote: In order to get the row height correctly, I understand I need to implement tableView:heightOfRow:. How can I find out how high my row needs to be? I know I can call size on an NSAttributedString, but the height returned doesn't take line breaka

Displaying NSAttributedStrings in an NSTableView with non-uniform row height

2008-05-22 Thread Christian Moen
cocoa-dev, I'd like to display textual information in varying fonts and sizes in NSTableColumns using an NSAttributedString, but I'm having problems getting my NSTableView to display the information using varying row height. My data source implements numberOfRowsInTableView: and tableView:objectV