Text Wrap in NSTextField
Text Wrap in NSTextField
- Subject: Text Wrap in NSTextField
- From: John Nairn <email@hidden>
- Date: Wed, 21 Dec 2005 17:01:54 -0700
I found method in super class NSCell of NSTextFieldCell to set line
break mode, and I tried:
[[myTextField cell] setLineBreakMode:NSLineBreakByTruncatingTail];
but it does not work. I added
[[myTextField cell] setWraps:NO];
but it still wraps with no truncating.
What else has to be set to make it work?
---------------
John Nairn (1-801-581-3413,
FAX:1-801-581-4816)
Web Page:
http://www.mse.utah.edu/~nairn
_______________________________________________
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