Strange Editing behaviour in NSBrowserCell
Strange Editing behaviour in NSBrowserCell
- Subject: Strange Editing behaviour in NSBrowserCell
- From: desktoast music productions <email@hidden>
- Date: Sun, 09 Apr 2006 09:15:09 +0200
I set the dataCell of my NSOutlineView to NSBrowserCell, so it displays an
items image and title (just like in the finder¹s list mode). I made some of
these item editable, so that users can set up their own item names. This all
works fine so far.
Problem is, when you select (double-click) a title, the item¹s image
disappears and the now selected title shifts to the left. When editing ends,
the image reappears again.
I guess this behaviour is the result of just setting NSBrwoserCell to [cell
setEditable:YES] ?
Could anybody please give me a hint, how to fix this, so that
double-clicking an NSBrowserCell only selects its title part (just like when
you change a file¹s name in finder¹s list mode)?
Peter
--
peter schwaiger
desktoast music productions
http://www.autlawmusic.com
_______________________________________________
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