Re: Does NSButton wrap long titles?
Re: Does NSButton wrap long titles?
- Subject: Re: Does NSButton wrap long titles?
- From: "I. Savant" <email@hidden>
- Date: Fri, 23 Dec 2005 10:34:58 -0500
Konstantin:
I recommend rethinking your GUI approach if this is likely to
cause problems. Buttons should not have wrapping lines.
--
I.S.
On Dec 23, 2005, at 9:42 AM, Konstantin Anoshkin wrote:
Sorry if I have missed the obvious.
I'm trying to make an NSButton (simple square button, with or
without an image) wrap its long title. And I can't. Yes, I tried -
setWraps:. And I'm not using attributed titles.
It doesn't wrap long titles in IB either. I have tried everything
(or so I think) in the Line Break pop-up in the NSButton inspector.
It seems that only clip and truncate options work as advertised. On
the other hand, if I insert line breaks in a title manually (Option
+Enter), lines do break as they should. That's not good for me
because I wanted to change some buttons' titles programmatically
and they can be too long to fit on one line.
Is this even possible at all?
Thanks in advance.
Konstantin.
----------------------------------------------------------------------
--
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
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