Hi, there is of the matter is that -setAspectRatio: sets the window`s aspect ratio, but when window has been loaded from nib and not resized yet, its size is taken from "content size" that was written in IB with it own aspect. Then when window has been resized it instantly get size to conform aspect. Can you suggest something?
2010/2/18 Eric Gorr <mail...@ericgorr.net> > > On Feb 18, 2010, at 1:55 PM, Alexander Bokovikov wrote: > > > Hi, All, > > > > I'm sorry if this is a stupid question, but I don't see an evident > answer... I need the subj, but don't see appropriate NSWindow method... Am I > missing something? > > You could check out NSWindow's setAspectRatio or setContentAspectRatio. > > These are discussed in NSWindow's programming guide. > > _______________________________________________ > > 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/arielfapple%40gmail.com > > This email sent to arielfap...@gmail.com > -- best regards Ariel _______________________________________________ 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