Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView
Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView
- Subject: Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView
- From: Markus Spoettl <email@hidden>
- Date: Sun, 10 Aug 2008 16:29:09 -0700
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 disclosure triangle will not be shown for a row that
should never be expanded."
Then you'll want to manually expand all of those entries. And then
you'll want to file a bug with Apple to make this part of the
NSOutlineView API.
Thanks a lot, works perfectly!
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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