Re: willDisplayOutlineCell of view-based NSOutlineView is not called
Re: willDisplayOutlineCell of view-based NSOutlineView is not called
- Subject: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
- From: Nava Carmon <email@hidden>
- Date: Thu, 21 Jun 2012 19:27:50 +0300
Thank you all for answering.
Corbin, where is the best place to add my own disclosure button?
I believe not in the view itself, since it's indented.
Thanks
On Jun 21, 2012, at 7:25 PM, Corbin Dunn wrote:
>
> On Jun 21, 2012, at 7:45 AM, Kyle Sluder <email@hidden> wrote:
>
>> On Jun 21, 2012, at 1:22 AM, Nava Carmon <email@hidden> wrote:
>>
>>>
>>>
>>>
>>> And this is what apple documentation says on this:
>>>
>>> outlineView:willDisplayOutlineCell:forTableColumn:item:
>>> Informs the delegate that an outline view is about to display a cell used to draw the expansion symbol.
>>
>> _There are no cells_ in a *view-based* outline view.
>>
>> Either on this list or in the developer forums (devforums.apple.com), Corbin Dunn acknowledged that lack of customizability of disclosure triangles is a known shortcoming with view-based outline views. He mentioned a workaround that involves looking for a subviews with a certain identifier.
>
> Please do log a bug requesting this functionality so we can expose it in an easy way.
>
> Yes, the documentation should be more clear too -- please log a bug on that also.
>
> Another alternative is to hide the disclosure triangle and add your own button that does it. It just would call expandItem or collapseItem as needed.
>
> corbin
>
>
_______________________________________________
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