Re: NSTableview background image for column?
Re: NSTableview background image for column?
- Subject: Re: NSTableview background image for column?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 26 Apr 2010 12:53:30 -0400
- Organization: Rogue Research Inc.
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 email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden