• 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: NSCell Text Alignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCell Text Alignment


  • Subject: Re: NSCell Text Alignment
  • From: Daniel Todd Currie <email@hidden>
  • Date: Thu, 14 Oct 2004 13:03:27 +0900

I've basically copied the code from the following location:

http://developer.apple.com/documentation/Cocoa/Conceptual/Rulers/Tasks/ TruncatingStrings.html

I've double-checked that my data cell has "setWraps:YES". I've checked the attributed string just before returning it, to see that it has "LineBreakMode 5". Yet I'm still not seeing any sort of truncation. Does the code in the above page actually work?

-- DTC


On 2004 Oct 14, at 11:29, Daniel Todd Currie wrote:

2. When the user is done editing a cell with text that is longer than the width of the cell, an ellipsis is placed at the end of the viewable text to show that it continues out of the viewable rect. Furthermore, I would like to be able to place the ellipsis in the middle of the word in some cases, the way Finder.app does in column view to show the beginning of the word and its file name extension.

_______________________________________________
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
  • Follow-Ups:
    • Re: NSCell Text Alignment
      • From: Keith Renz <email@hidden>
References: 
 >NSCell Text Alignment (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: NSAppleScript: buggy?
  • Next by Date: Re: how to add 'file format selection' popup menu in save panel
  • Previous by thread: Re: NSCell Text Alignment
  • Next by thread: Re: NSCell Text Alignment
  • Index(es):
    • Date
    • Thread