Re: NSScrollView like iTunes
Re: NSScrollView like iTunes
- Subject: Re: NSScrollView like iTunes
- From: Luca Pazzerello <email@hidden>
- Date: Fri, 20 Mar 2009 12:52:42 +0100
Chris, Wich NSTableView can expand its items? ;-) (I'm referring to the
iTunes Playlists item).
That NSOutlineView simply hides the disclosure triangle, so that
probably confused you.
If you want to hide the disclosure triangles (wich every expandible item
has by dfault), you need to subclass
NSOutlineView and override the - (NSRect)frameOfOutlineCellAtRow:(NSInteger
)row method; you may want to return NSZeroRect when you don't want the
disclosure triangle to be shown.
--Luca C.
2009/3/20 Chris Purcell <email@hidden>
> I'm trying to create a view similar to the left iTunes bar (
> http://i39.tinypic.com/2hwp7w5.png) and many other apps (Mail, iCal,
> etc.). Is this a NSScrollView or NSOutlineView? Or am I going about this
> the wrong way.
>
> Thanks,
>
> --Chris
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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