On Dec 20, 2014, at 13:09 , H Miersch <hmier...@me.com> wrote: > > should i add the constraints to the superview instead of self?
The height and width constraints should be on the view itself. I’d be more concerned about timing: Did you add constraints before or after layout had occurred, and if after do you need to trigger a re-layout? Also, your ‘setFrameSize’ method suggests you *might* still be setting the view frame somewhere. You don’t want to do that under auto-layout. If you’re using Xcode 6, you also have debugging assistance in the view hierarchy display. (It’s a button down near the continue/step controls in the debugger pane.) You also have -[NSWindow visualizeConstraints:] to help figure out what’s going on. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com