Skip navigation.
 
mlRe: displaying image and multiple rows of text in NSTableView row
FROM : Jens Alfke
DATE : Mon Mar 03 23:02:37 2008

On 3 Mar '08, at 6:34 AM, Nick Rogers wrote:

> Now I need to show an icon in every row


Add a new column and make its data cell an NSImageCell in IB.

> and also have to display 2 rows of text in one row of tableView.
> Is it possible, if yes then how and can i incresse a row's width to 
> accomodate two rows of text?


You mean increase its *height*, don't you? Look at the NSTableView 
data-source API (in NSTableView.h) for the methods that let you 
specify custom row heights.

—Jens

Related mailsAuthorDate
mldisplaying image and multiple rows of text in NSTableView row Nick Rogers Mar 3, 15:34
mlRe: displaying image and multiple rows of text in NSTableView row Corbin Dunn Mar 3, 18:16
mlRe: displaying image and multiple rows of text in NSTableView row Jens Alfke Mar 3, 23:02