On Sat, 24 Apr 2010 14:28:02 -0400, Izak van Langevelde said:

>An NSTableView needs a column with one single image, spanning the entire
>column.
>
>I have got this working by setting as the background colour of the
>NSTableView a pattern, consisting of the background image, scaled big
>enough so it does not tile. However, this is somewhat limiting with
>respect to column reordering and resizing.
>
>I considered using an NSImageView next to theNSTableView within the same
>NSScrollView, or making a table cell span all rows, but each of these
>has its own problems.
>
>Any suggestions on how to improve?

Have you looked at:
<http://developer.apple.com/mac/library/samplecode/ImageBackground/
Introduction/Intro.html>

"ImageBackground shows how to draw an image in the background of an
NSOutlineView and NSTableView..."

Pathetically, searching the sample code section for 'table' does not
reveal this sample. :(

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to