Re: Source list group item indentation
Re: Source list group item indentation
- Subject: Re: Source list group item indentation
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 11 Jan 2008 15:24:15 +0100
Le 11 janv. 08 à 15:16, Kyle Sluder a écrit :
Howdy list,
Trying to implement an NSOutlineView as source list. Everything works
fine, except that I have group items that I don't want to be
expandable. Even if I tell the list view they're not expandable, they
still appear indented. What do I have to do to make them flush-left
with the inside of the outline view, like the Library and Store items
in the iTunes source list?
Thanks,
--Kyle Sluder
There is a bunch of methods to control NSOutlineView indentation. I
think you will have to subclass the NSOutlineview.
See NSOutlineView Reference:
• – levelForItem:
• – levelForRow:
• – setIndentationPerLevel:
• – indentationPerLevel
• – setIndentationMarkerFollowsCell:
• – indentationMarkerFollowsCell
_______________________________________________
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