FROM : Corbin Dunn
DATE : Fri Jul 21 00:28:38 2006
>
> 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
DATE : Fri Jul 21 00:28:38 2006
>
> 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
| Related mails | Author | Date |
|---|---|---|
| James Bucanek | Jul 20, 18:53 | |
| Corbin Dunn | Jul 20, 19:23 | |
| James Bucanek | Jul 20, 21:48 | |
| Corbin Dunn | Jul 20, 23:32 | |
| James Bucanek | Jul 21, 00:17 | |
| Corbin Dunn | Jul 21, 00:28 | |
| James Bucanek | Jul 21, 00:31 |






Cocoa mail archive

