• 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
Need Help Please....Truncation Mode for Window Title
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need Help Please....Truncation Mode for Window Title


  • Subject: Need Help Please....Truncation Mode for Window Title
  • From: Joachim Deelen <email@hidden>
  • Date: Tue, 28 Feb 2006 10:21:15 +0100

Posted this question a few days ago...

Does anybody know how to change the truncation Mode for Window titles, so that the Ellipsis are drawn in the middle of the Title and not at the end.

I think it must be possible because Safari behaves exactly this way.

Many thanks
Joachim

Anfang der weitergeleiteten E-Mail:

Von: Joachim Deelen <email@hidden>
Datum: 26. Februar 2006 15:53:39 MEZ
An: email@hidden
Betreff: Changing truncating mode for NSWindow Title

Hello,

is it possible, to change the truncating mode for Window Titles?

If you resize a window, so that the title can not be completely displayed, ellipsis (...) are drawn at the end of the title string automatically.

I want these ellipsis to be in the middle!

I've tried to create an NSAttributedString with a NSParagraphStyle with line Breaking Mode "NSLineBreakByTruncatingMiddle". But when I use the NSWindow setTitle, with the attributed String, it does not accept it as a valid parameter value.

Any ideas?

regards
Joachim_______________________________________________
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

_______________________________________________ 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: Need Help Please....Truncation Mode for Window Title
      • From: Joshua Scott Emmons <email@hidden>
References: 
 >Changing truncating mode for NSWindow Title (From: Joachim Deelen <email@hidden>)

  • Prev by Date: Re: Objective-C in a Time Constraint Thread
  • Next by Date: Re: Accessing MySQL database
  • Previous by thread: Changing truncating mode for NSWindow Title
  • Next by thread: Re: Need Help Please....Truncation Mode for Window Title
  • Index(es):
    • Date
    • Thread