Re: NSOutlineView misdrawing during drag
Re: NSOutlineView misdrawing during drag
- Subject: Re: NSOutlineView misdrawing during drag
- From: Corbin Dunn <email@hidden>
- Date: Thu, 5 Jan 2006 09:36:49 -0800
Phil,
Drag and drop should (hopefully) be really easy to implement with a
TableView. It sounds like something else is screwy in your particular
TableView if it does some strange drawing. I'd add in some logging
when each cell is drawn and try to discover what is incorrect about
it. Without more information, I don't know what else I can suggest.
thanks,
--corbin
On Jan 4, 2006, at 2:36 PM, Philip Dow wrote:
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?
_______________________________________________
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