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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to