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
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 mails | Author | Date |
|---|---|---|
| Kyle Sluder | Jan 11, 15:16 | |
| Jean-Daniel Dupas | Jan 11, 15:24 | |
| Jonathan Dann | Jan 11, 16:12 | |
| Corbin Dunn | Jan 16, 00:15 | |
| Kyle Sluder | Jan 16, 11:23 | |
| Corbin Dunn | Jan 16, 19:08 | |
| Ben | Jan 16, 19:55 | |
| Corbin Dunn | Jan 16, 20:49 | |
| Hamish Allan | Jan 16, 20:52 | |
| Pete Callaway | Jan 17, 09:34 |






Cocoa mail archive

