NSOutlineView misdrawing during drag
NSOutlineView misdrawing during drag
- Subject: NSOutlineView misdrawing during drag
- From: Philip Dow <email@hidden>
- Date: Wed, 4 Jan 2006 23:36:35 +0100
I am in the process of implementing drag and drop in an
nsoutlineview, no bindings included (oh man what a pain!) I actually
have things working pretty well, but I'm encountering a strange
drawing error. As I drag a node in the outline view to other nodes,
as soon as the drag is able to find a drop target, the outline view
draws the title of the dragged node over the first node in the view.
Now, I am admittedly doing all kinds of whack things with this
outlineview, such as retargeting the drag to get behavior more like
mail's source list, as well as using a custom cell to draw a
sourcelist gradient in addition to an icon and a title in the same
column. Relative to this, when the outlineview draws the title of the
dragged node over the first node in the view, it does not take into
account the offset required by the first node's icon.
Has anyone encountered this kind of drawing error before or can
anyone suggest what I may be doing incorrectly?
-Phil
_______________________________________________
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