Custom OutlineView with finder editing behaviour
Custom OutlineView with finder editing behaviour
- Subject: Custom OutlineView with finder editing behaviour
- From: email@hidden
- Date: Tue, 15 Nov 2005 09:26:36 +0100
Hi all,
I've made a custom outlineview with following behaviour :
* gradient higlight when selecting an item,
* 1 column with image and text (ImageAndTextCell from Apple sample),
* rectangle selection just around text when editing,
* frame of textView auto growing when user enter text.
The problem is that when editing, a blue rectangle is displaying around the
text.
When I enter a char, the view is growing up well (I resize the superview
which is a NSKeyboard...something, a private class) but the blue rectangle
stay as is (except the right border which is erased by the new car)).
How can I redraw it ?
I've tried setBorder or Bezel in my personal cell (subclass of
NSTextFieldCell) but it's not the right way.
I've tried with NSDrawRect and NSEraseRect but it seems to draw in another
place, even with coordinate conversion...
Thanks for help !
Regards,
Guillaume Gandreau
_______________________________________________
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