• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOutlineView misdrawing during drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSOutlineView misdrawing during drag
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Coredata and threads
  • Next by Date: Re: MainMenu
  • Previous by thread: Re: MainMenu
  • Next by thread: Re: NSOutlineView misdrawing during drag
  • Index(es):
    • Date
    • Thread