On Apr 25, 2013, at 8:35 PM, Rick Mann <rm...@latencyzero.com> wrote:
> On Apr 25, 2013, at 18:30 , Charles Srstka <cocoa...@charlessoft.com> wrote: > >> Pinning *is* what you want. Do each of "Pin Leading/Trailing/Top/Bottom Edge >> To Superview", and then the height and width constraints should become >> deletable. > > Sorry, I misunderstood. Yes, I had already pinned the > Leading/Trailing/Top/Bottom Edges To Superview. Perhaps try it again. IB can be a little wonky sometimes WRT constraints; perhaps re-adding the constraints for the four edges to the superview again, and see if it makes IB realize that the height/width constraints aren't needed. >> If it still won't let you delete them even after that, then just give them a >> low enough priority in the Inspector that they cease to matter. > > Like I said, I think this is something about Image Well (NSImageView). In its > size inspector, it has three pre-defined sizes in a popup. I think IB is > trying to require that it be of fixed size. I finally just gave up and wrote > code to stick my image into the CALayer of an NSView, which does not exhibit > this behavior in IB. I tried it myself in IB with an NSImageView after reading your original post, and was not able to reproduce this behavior, so that's not it. Charles _______________________________________________ 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