Re: NSOutlineView : Incorrect Drag and Drop drawing?
Re: NSOutlineView : Incorrect Drag and Drop drawing?
- Subject: Re: NSOutlineView : Incorrect Drag and Drop drawing?
- From: Corbin Dunn <email@hidden>
- Date: Mon, 23 Feb 2009 09:16:53 -0800
On Feb 21, 2009, at 3:08 PM, Iceberg-Dev wrote:
I have a NSOutlineView and its highlight mode is "SourceList".
When I drag a selected item (the cell is a subclass of NSTextField
from the DargAndDropOutlineView sample code) from the list, its text
is drawn in white. This means you can't see it since most the of the
windows background are white usually.
This does not happen with a NSOutlineView with a standard highlight
mode.
Is this a known bug? (Mac OS X 10.5.6 clean install)
Yes, please do log this as a bug.
A work around is to implement -willDisplayCell in your delegate, and
to manually change the text highlighting when it is the "drop target
row". You may have to keep more internal state to figure out when that
is.
corbin
_______________________________________________
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