Custom NSTextFieldCell
Custom NSTextFieldCell
- Subject: Custom NSTextFieldCell
- From: Behzad Boostanchi <email@hidden>
- Date: Sun, 2 May 2004 14:09:42 +0430
Hi All,
I've subclassed NSTextField and override
'-editWithFrame:inView:editor:delegate:event:' message to customize
the editor.
I could use [theTextEditor setRichText:YES] and it works for setting
different fonts but it doesn't support any text alignment messages!
Actually when I send -setAlignment message, it shows the insertion
point at the correct location at the start of editing process, but as
soon as I start to type, its alignment is returned to left.
Is there anything special with the TextView of an NSTextField that
doesn't support paragraph styles?!
Regards,
Behzad Boostanchi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.