Re: Button width should accomodate localized string
Re: Button width should accomodate localized string
- Subject: Re: Button width should accomodate localized string
- From: Jens Alfke <email@hidden>
- Date: Mon, 30 Nov 2009 15:30:15 -0800
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 to create good-looking layouts. Overall I think Cocoa's approach is the right one.
For example, Java's AWT/Swing frameworks lay out views on the fly using LayoutManagers, taking into account text and other metrics. (I think they got the approach from Motif.) It's a primary reason why Java user interfaces usually look so ugly; and also why designing them is so difficult.
—Jens_______________________________________________
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