Re: NSBrowserCell not extensible; need sample using NSButtonCell
Re: NSBrowserCell not extensible; need sample using NSButtonCell
- Subject: Re: NSBrowserCell not extensible; need sample using NSButtonCell
- From: Corbin Dunn <email@hidden>
- Date: Thu, 20 Jul 2006 15:28:38 -0700
That's what was throwing me. Neither NSBrowserCell nor NSCell have
any kind of "background" property to set. By overridding
highlightColorWithFrame: you can return a clear color that
effectively suppressed the background of the base class. So,
NSBrowserCell does it one way and NSTextFieldCell does it completely
differently. Oh, well. ;)
Okay -- I'm still confused as to what you want to do.
It doesn't matter -- it's a moot point. The work that I thought
NSBrowserCell was doing (and what I thought I would have to
replicate) is done by NSOutlineView.
Thanks for getting me going in the right direction.
Super! I should note that NSBrowserCell does draw the little triangle
on the right-hand side of the cell when "isLeaf == NO". This is
automatically set when it is used in NSBrowser.
-corbin
_______________________________________________
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