Need Help Please....Truncation Mode for Window Title
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