• 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: Button width should accomodate localized string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button width should accomodate localized string


  • Subject: Re: Button width should accomodate localized string
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 29 Nov 2009 07:51:58 -0800

On 2009 Nov 29, at 07:38, Symadept wrote:

> How can I scale my button or Label to be able to accomodate the localized
> string?

-[NSControl sizeToFit]

However, to my eye the result you get from that, in a regular rounded button, looks a little cramped.  So I use my own method which invokes that one but then adds a few 6 pixels to the width.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Button width should accomodate localized string (From: Symadept <email@hidden>)

  • Prev by Date: Help needed on font for localized app
  • Next by Date: Re: Button width should accomodate localized string
  • Previous by thread: Button width should accomodate localized string
  • Next by thread: Re: Button width should accomodate localized string
  • Index(es):
    • Date
    • Thread