• 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
Re: Does NSButton wrap long titles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSButton wrap long titles?


  • Subject: Re: Does NSButton wrap long titles?
  • From: Matt Reagan <email@hidden>
  • Date: Fri, 23 Dec 2005 10:35:28 -0800

Since when did every application on a platform fall under the same UI
guidelines? I've worked on games that had very unusual UI needs and it
certainly wasn't out of poor designing. *shrug* At least I hope it
wasn't out of poor designing...

Konstantin:
Can you simply subclass it and write your own drawing routine for the control?

Happy Holidays~

On 12/23/05, I. Savant <email@hidden> wrote:
> 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
>
_______________________________________________
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: Does NSButton wrap long titles?
      • From: Shawn Erickson <email@hidden>
References: 
 >Does NSButton wrap long titles? (From: Konstantin Anoshkin <email@hidden>)
 >Re: Does NSButton wrap long titles? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Keyboard focus indicator line style
  • Next by Date: Re: Splash Screen Creation
  • Previous by thread: Re: Does NSButton wrap long titles?
  • Next by thread: Re: Does NSButton wrap long titles?
  • Index(es):
    • Date
    • Thread