Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Markus Spoettl
Hi List, I have an NSOutlineView based source list bound to a tree controller and I can't figure out how to create a group item that does not have a disclosure triangle - as an example, the MAILBOXES folder group in Mail.app does that. I thought it might be possible by returning NO for

Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Kyle Sluder
On Sun, Aug 10, 2008 at 7:13 PM, Markus Spoettl [EMAIL PROTECTED] wrote: I have an NSOutlineView based source list bound to a tree controller and I can't figure out how to create a group item that does not have a disclosure triangle - as an example, the MAILBOXES folder group in Mail.app does

Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Markus Spoettl
On Aug 10, 2008, at 4:27 PM, Kyle Sluder wrote: From the documentation: You can override this method in a subclass to return a custom frame for the outline button cell. If your override returns an empty rect, no outline cell is drawn for that row. You might do that, for example, so that the

Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Kyle Sluder
On Sun, Aug 10, 2008 at 7:29 PM, Markus Spoettl [EMAIL PROTECTED] wrote: Thanks a lot, works perfectly! No problem, but please do file an enhancement request (http://bugreport.apple.com) so that this becomes part of the standard NSOutlineView API. It's one of the few (if not the only) things