Re: NSTableview - tableView:heightOfRow: not behaving

2009-07-06 Thread Alex Holland
Quincey - cheers, that's worked a charm. I whacked in an NSLog to check, and it was indeed calculating heights for all non-visible cells with only the placeholder text "Text Cell". I'm still unsure as to why this led to the weird tiling behaviour rather than just truncated text, but I have

Re: NSTableview - tableView:heightOfRow: not behaving

2009-07-05 Thread Quincey Morris
On Jul 5, 2009, at 17:06, Alex Holland wrote: - (CGFloat)tableView:(NSTableView *)tv heightOfRow:(NSInteger)row { // Get second column (index 1 - status text) // (first column, index 0, is Twitter profile pic) NSTableColumn *column = [[tv tableColumns] objectAtIndex:1];

NSTableview - tableView:heightOfRow: not behaving

2009-07-05 Thread Alex Holland
Hi, I'm running X-Code 3.1.3 on OS X 10.5.7, Intel Macbook. As a means of getting the hang of Cocoa, and having some fun at the same time, I've been building a simple Desktop Twitter Client. I've previously worked through Hillegass' excellent Cocoa book. Building on his example of using A