Re: Button width should accomodate localized string

2010-03-16 Thread Oftenwrong Soong
On Mon, November 30, 2009 2:53:08 PM, Ricky Sharp wrote: > On Nov 29, 2009, at 9:52 AM, glenn andreas wrote: >> On Nov 29, 2009, at 9:38 AM, Symadept wrote: >>> How can I scale my button or Label to be able to accomodate the localized >>> string? >>> >> That's the whole purpose of being able to

Re: Button width should accomodate localized string

2009-11-30 Thread Jens Alfke
On Nov 30, 2009, at 2:53 PM, Ricky Sharp wrote: > Exactly. It's not possible to create a single nib such that its layout and > control sizes will be appropriate for every language. It's not impossible, it's just that it requires a very different approach, which in turn makes it a lot harder t

Re: Button width should accomodate localized string

2009-11-30 Thread Ricky Sharp
On Nov 29, 2009, at 9:52 AM, glenn andreas wrote: > On Nov 29, 2009, at 9:38 AM, Symadept wrote: > >> How can I scale my button or Label to be able to accomodate the localized >> string? > > That's the whole purpose of being able to localize the nib/xib... Exactly. It's not possible to create

Re: Button width should accomodate localized string

2009-11-29 Thread glenn andreas
On Nov 29, 2009, at 9:38 AM, Symadept wrote: > Hi, > > How can I scale my button or Label to be able to accomodate the localized > string? > > Any clues. > > Regards > symadept That's the whole purpose of being able to localize the nib/xib... Glenn Andreas gandr...@gand

Re: Button width should accomodate localized string

2009-11-29 Thread Jerry Krinock
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 th