• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Text Wrap in NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Files larger than 2.9 gigs
  • Next by Date: Re: How to remove accents from characters (i.e. ñ --> n)
  • Previous by thread: Re: How to remove accents from characters (i.e. ñ --> n)
  • Next by thread: CoreData - crashes on 10.4.3, okay on 10.4.2
  • Index(es):
    • Date
    • Thread