• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableview background image for column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableview background image for column? (From: Izak van Langevelde <email@hidden>)

  • Prev by Date: Re: [iPhone] File coping application
  • Next by Date: Re: [iPhone] File coping application
  • Previous by thread: Re: NSTableview background image for column?
  • Next by thread: No icon in Dock's Application folder HUD?
  • Index(es):
    • Date
    • Thread