Re: NSBrowser bug
Re: NSBrowser bug
- Subject: Re: NSBrowser bug
- From: Manfred Schwind <email@hidden>
- Date: Thu, 25 Aug 2005 11:51:58 +0200
There seems to be a bug in NSBrowser whereby if you
select an item in a column, then switch the selection
a couple of times, the cells in between the cells you
have selected apparently get drawn more than
necessary, so that their text gets darker and darker
and becomes bold, until you reset the selection or
switch to another window and back.
This bug is apparent in both the SimpleBrowser example
and in the class browser in IB (though not in Finder,
but I guess that is just because Finder is Carbon...),
so it's not my code.
Has anybody found a workaround for this? It's pretty
ugly (I've filed a bug report).
Yes, I found a workaround:
In the action method in the target for the NSBrowser (when the user
clicks into it to change selection), just call setNeedsDisplay:YES on
the NSBrowser. It's a ugly workaround, but it works.
Regards,
Mani
---
http://www.mani.de/
LittleSecrets - The encrypted notepad.
iVolume - Loudness adjustment for iTunes.
SharingMenu - Instant Sharing Control.
iSale - you sell@eBay.
_______________________________________________
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