Re: NSOutlineView: prevent item to expand on drag
Re: NSOutlineView: prevent item to expand on drag
- Subject: Re: NSOutlineView: prevent item to expand on drag
- From: Allan Odgaard <email@hidden>
- Date: Wed, 15 Sep 2004 15:19:13 +0200
On 15. Sep 2004, at 14:31, Fabien Conus wrote:
When dragging something in a NSOutlineView, the items will
automatically expand when you spend some time on them.
How can I prevent that ?
You do know that this is actually a feature, right? ;)
Anyway, try to implement the outlineView:shouldExpandItem: delegate
method to prevent expansion during drag'n'drop -- I haven't tested if
it works though (there's probably a good chance it won't work, but it's
worth a shot).
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about
programming
_______________________________________________
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