Trouble editing a custom NSCell
Trouble editing a custom NSCell
- Subject: Trouble editing a custom NSCell
- From: Jerome Foucher <email@hidden>
- Date: Wed, 24 Nov 2004 10:59:30 +0100
Hi all,
I've subclassed NSCell so that it can display an icon and two lines of text. The first line of text is editable by double-clicking on the cell.
Right now that works fine, but my problem is the appearance of the cell while editing. I'd like to change the size and position of the text editor so that it's displayed exactely on top of the first line of text. So I've tried to override the - (void)editWithFrame:inView:editor:delegate:event: method in order to change the rectangle of the NSText.
Unfortunately, this method is never called when the cell is edited.
Did I miss anything ?
Thanks
Jérome
_______________________________________________
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