Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Eric Gorr
On Dec 18, 2008, at 12:13 PM, Corbin Dunn wrote: Thanks for the advice. Searching more through the archives, I did find: http://www.joar.com/code/body.html which seems to do what I want and subclasses a NSCell. Could you provide some information on what problems I will run into going t

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Randall Meadows
On Dec 18, 2008, at 10:06 AM, Eric Gorr wrote: On Dec 18, 2008, at 11:52 AM, Corbin Dunn wrote: On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote: You will have more problems and trouble attempting to get an NSView inside of a cell. I suggest subclassing NSTextFieldCell. Please do log a bug re

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Kevin Gessner
An alternative route: you could use an NSCollectionView in place of your NSOutlineView, and populate it with more NSCollectionViews. Then you'd be imitating the outline view's behavior (essentially just collapsing), which might be simpler than trying to mimic NSView with NSTextFieldCell.

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Corbin Dunn
Thanks for the advice. Searching more through the archives, I did find: http://www.joar.com/code/body.html which seems to do what I want and subclasses a NSCell. Could you provide some information on what problems I will run into going the route suggested by joar? One problem is navig

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Eric Gorr
On Dec 18, 2008, at 11:59 AM, Randall Meadows wrote: On Dec 18, 2008, at 9:52 AM, Corbin Dunn wrote: On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote: I need to be able to use a NSCollectionView inside of a cell for a NSOutlineView. [snip] You will have more problems and trouble attempting to

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Eric Gorr
On Dec 18, 2008, at 11:52 AM, Corbin Dunn wrote: On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote: I need to be able to use a NSCollectionView inside of a cell for a NSOutlineView. The outline view will have only a single column and look like: Collapsible Row 1 NSCollectionView 1 Colla

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Randall Meadows
On Dec 18, 2008, at 9:52 AM, Corbin Dunn wrote: On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote: I need to be able to use a NSCollectionView inside of a cell for a NSOutlineView. [snip] You will have more problems and trouble attempting to get an NSView inside of a cell. I suggest subclassin

Re: Using a NSCollectionView in a table cell.

2008-12-18 Thread Corbin Dunn
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote: I need to be able to use a NSCollectionView inside of a cell for a NSOutlineView. The outline view will have only a single column and look like: > Collapsible Row 1 NSCollectionView 1 > Collapsible Row 2 NSCollectionView 2 and so o

Using a NSCollectionView in a table cell.

2008-12-18 Thread Eric Gorr
I need to be able to use a NSCollectionView inside of a cell for a NSOutlineView. The outline view will have only a single column and look like: > Collapsible Row 1 NSCollectionView 1 > Collapsible Row 2 NSCollectionView 2 and so on. What I am uncertain about is just how to