NSBrowser redraw issues
NSBrowser redraw issues
- Subject: NSBrowser redraw issues
- From: "Martin Redington" <email@hidden>
- Date: Sun, 3 Aug 2008 03:11:12 +0100
Here's another NSBrowser issue ...
I'm allowing multiple selection in my NSBrowser.
When my NSBrowser loses focus, the multiple selected cells correctly
change to have a grey background, but when it regains focus, only the
last selected cell gets updated correctly to the active selection
colour.
If I scroll the browser or switch apps, the selected cells are
correctly redrawn.
I've tried forcing redrawing by calling setNeedsDisplay on the matrix,
or -[NSMatrix drawCellAtRow:column:] for each cell, but this seems
to make no difference.
Quartz Debug shows that the last selected cell is getting redrawn, but
that the other cells never do, as though the Browser never realises
that the cells are dirty and need redrawing too.
Any suggestions for how to ensure that all of the selected cells
redraw would be great ...
--
http://www.mildmanneredindustries.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden