Because I had a bad experience with localized nib files being out of sync, I am 
trying a new strategie:
Directly after loading a nib, I walk through all subviews replacing titels, 
stringValues and toolTips.
And I use Lions Auto Layout (Xcode 4.1) to get everything arranged nicely.

One problem I am unable to fix though:
The window has a column of radio buttons, but when I walk through the 
ButtonCells inside the Matrix using setTitel to properly localized strings, the 
size of the matrix is *not* updated and if the new strings are longer than 
those in the original nib file, they are just cut off.

I tried all of these:
                [ view setNeedsLayout: YES ];
                [ view setNeedsUpdateConstraints: YES ];
                [ view updateConstraints ];
                [ view updateConstraintsForSubtreeIfNeeded ];
                [ view layoutSubtreeIfNeeded ];
                [ view layout ];
but so far without any success.

Kind regards,

Gerriet.

_______________________________________________

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