Re: attributed string in nsoutlineview (solved)
Re: attributed string in nsoutlineview (solved)
- Subject: Re: attributed string in nsoutlineview (solved)
- From: William Turner <email@hidden>
- Date: Tue, 16 Aug 2005 00:00:47 -0400
Well it turned out to be extremely simple - I just needed to get the
dataCell of the appropriate column and set its font:
[[[outline tableColumnWithIdentifier:@"interface"] dataCell] setFont:
[NSFont fontWithName:@"Arial" size:10]];
On Aug 15, 2005, at 5:39 PM, Eric Morand wrote:
Just an idea : maybe you should subclass the cell used by your
outilne view and subclass :
- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)
theEvent
This is the method that is called when the user edit a cell.
Eric.
Le 15 août 05 à 18:39, William Turner a écrit :
Sorry to repost - if I missed a response just let me know.
My outline view data source provides attributed strings. While an
item in the outline is being edited, the font changes to the
standard system font. When editing is complete, it returns to the
attributed string. How can I keep the same font during the editing
process?
Thanks :)
Wil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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