• 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
Controlling line tightening
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controlling line tightening


  • Subject: Controlling line tightening
  • From: John Stiles <email@hidden>
  • Date: Tue, 11 Mar 2008 19:47:45 -0700

I'm using line tightening in some of my dialogs and 99% of the time it works great, but there are a few aspects of it that don't work for my app. In particular, when line tightening kicks in, first it attempts to shrink the text to fit the box, which is awesome. But when it still doesn't fit even when shrunk, it disables tightening and appends an ellipsis, and this ellipsis is problematic for me.

I'd like to change it so that when the text doesn't fit, it just tightens it to the maximum tightness allowed and displays as much text as possible. Or at the very least, I'd like to disable the ellipsis.

I have a text field which in some circumstances can tighten, and that's by design. In very extreme circumstances it will still be too much text. (Before you say "increase the tightening threshold," well, that just makes the circumstances at which it will fail even more extreme.) This is not a big problem, but I don't want to see the ellipsis, since it ends up truncating even more text, meaning that instead of only losing one or two characters at the end of my string, I lose five or six… which suddenly turns a tiny problem into a big one.

_______________________________________________

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


  • Follow-Ups:
    • Re: Controlling line tightening
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Launch Daemon Best Practices?
  • Next by Date: Re: Controlling line tightening
  • Previous by thread: Re: NSTask and process group IDs
  • Next by thread: Re: Controlling line tightening
  • Index(es):
    • Date
    • Thread