• 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
Re: NSTextField line breaking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField line breaking


  • Subject: Re: NSTextField line breaking
  • From: John Nairn <email@hidden>
  • Date: Mon, 26 Jan 2009 10:01:10 -0800

In a nib file I can set line breaking mode of an NSTextField (e.g., clip, truncate front, middle, end, etc.).

But, I cannot find and way to make that setting in a programmatically created NSTextField. I looked through NSTextField, NSTextFieldCell, and NSControl.

I just found it in NSCell methods as setLineBreakMode:

------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: NSTextField line breaking
  • Next by Date: Re: NSTextField line breaking
  • Previous by thread: Re: NSTextField line breaking
  • Next by thread: get the drawing text height
  • Index(es):
    • Date
    • Thread