Changing truncating mode for NSWindow Title
Changing truncating mode for NSWindow Title
- Subject: Changing truncating mode for NSWindow Title
- From: Joachim Deelen <email@hidden>
- Date: Sun, 26 Feb 2006 15:53:39 +0100
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