Re: I think I have found a big bug in NSBrowser
Re: I think I have found a big bug in NSBrowser
- Subject: Re: I think I have found a big bug in NSBrowser
- From: Andre <email@hidden>
- Date: Thu, 26 Jan 2006 10:08:38 -0800
Andy Armstrong wrote:
On 26 Jan 2006, at 03:03, email@hidden wrote:
It works fine, but disconnect the delegate, and establish the
bindings to the NSTreeController then somethings wrong....
Can you tell us /what/ goes wrong - that might be a start :)
Yea, sorry if I wasn't too clear, the NSBrowser then does not in all
cases use my custom cell class.
Here is a screen shot : http://homepage.mac.com/son_gohan/pic3.png
It seems the earlier one calls [Browser setCellClass:] the better. If
its too late, in the case of it being bound to NSTreeController,
it seems it doesn't listen anymore to the -setCellClass method.
Seems like the wrong bahavior?
It doesn't seem the docs say "You need to make sure to call -
setCellClass as early as possible"
I know NSControll has this behavior, but NSBrowser seems to do
something similar.
I'm guessing the individual NSMatricies that make up the columns,
don't get refreshed with the new Cell Class after setting it in the
browser.
That would seem to explain why the first row is NSBrowserCells and
the second is my using CustomCell....
--
Andy Armstrong, hexten.net
Thanks.
Andre
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden