wrapping text in cells of an NSTableView
wrapping text in cells of an NSTableView
- Subject: wrapping text in cells of an NSTableView
- From: "Nathan V. Roberts" <email@hidden>
- Date: Thu, 12 Jul 2001 19:07:47 -0500
Hi,
I'm trying (mainly for printing purposes) to get my NSTableView to
display all data within the column, rather than truncating it. (So,
e.g., if it takes 3 lines to display the last column for a given row,
that row will be 3 lines tall.) I'm thinking that maybe I need to
subclass the NSTableView and override rectOfRow, and calculate the
height needed myself. Is that right? It seems like there ought to
be a better way.
Thanks once again,
Nathan