• 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: NSOutlineView variable width cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView variable width cell


  • Subject: Re: NSOutlineView variable width cell
  • From: Ashley Clark <email@hidden>
  • Date: Thu, 14 Sep 2006 13:12:42 -0500

Well, the gradients are nice but that's not really what I'm interested in.

Essentially, I want some rows to have one full-width column while other rows will have three columns. Or at least that's the appearance I want.

On Sep 14, 2006, at 1:02 PM, I. Savant wrote:

Ashley:

I recommend spending some time familiarizing yourself with controls and cells:

http://tuvix.apple.com/documentation/Cocoa/Conceptual/ControlCell/index.html

This will give you the background you need to understand how and why this (and any similar approach) works:

http://stoneship.org/blog/2005/07/30/using-a-nsoutlineview-as-a-source-list/

(There are several sources of example code for gradient table / outline views, but this was what I found the fastest with my googling. Look for "nstableview gradient" or "nsoutlineview gradient".)

--
I.S.


On Sep 14, 2006, at 1:45 PM, Ashley Clark wrote:

I'm not sure how to go about this in my project so I'm looking for some ideas and guidance.

I want to have an outline view where some rows are drawn similarly to the groups row in the Spotlight window ignoring the column layouts. Any ideas? I'm guessing that I'm going to have to subclass NSOutlineView and override whatever method is drawing the row but I'm not sure where to start on this. That is, unless an NSCell can overflow its' bounds?

Help me, please.

Ashley Clark


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden



Ashley Clark


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSOutlineView variable width cell
      • From: "I. Savant" <email@hidden>
References: 
 >NSOutlineView variable width cell (From: Ashley Clark <email@hidden>)
 >Re: NSOutlineView variable width cell (From: "I. Savant" <email@hidden>)

  • Prev by Date: NSOutlineView and NSBrowser
  • Next by Date: Re: how to get events from a carbon event handler, in a cocoa app.
  • Previous by thread: NSOutlineView and NSBrowser
  • Next by thread: Re: NSOutlineView variable width cell
  • Index(es):
    • Date
    • Thread