Re: Button width should accomodate localized string
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