Skip navigation.
 
mlRe: Source list group item indentation
FROM : Jean-Daniel Dupas
DATE : Fri Jan 11 15:24:15 2008

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

Related mailsAuthorDate
mlSource list group item indentation Kyle Sluder Jan 11, 15:16
mlRe: Source list group item indentation Jean-Daniel Dupas Jan 11, 15:24
mlRe: Source list group item indentation Jonathan Dann Jan 11, 16:12
mlRe: Source list group item indentation Corbin Dunn Jan 16, 00:15
mlRe: Source list group item indentation Kyle Sluder Jan 16, 11:23
mlRe: Source list group item indentation Corbin Dunn Jan 16, 19:08
mlRe: Source list group item indentation Ben Jan 16, 19:55
mlRe: Source list group item indentation Corbin Dunn Jan 16, 20:49
mlRe: Source list group item indentation Hamish Allan Jan 16, 20:52
mlRe: Source list group item indentation Pete Callaway Jan 17, 09:34