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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to