• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: More constraints confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More constraints confusion


  • Subject: Re: More constraints confusion
  • From: Charles Srstka <email@hidden>
  • Date: Thu, 25 Apr 2013 20:55:03 -0500

On Apr 25, 2013, at 8:35 PM, Rick Mann <email@hidden> wrote:

> On Apr 25, 2013, at 18:30 , Charles Srstka <email@hidden> 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 (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

References: 
 >More constraints confusion (From: Rick Mann <email@hidden>)
 >Re: More constraints confusion (From: Rick Mann <email@hidden>)
 >Re: More constraints confusion (From: Charles Srstka <email@hidden>)
 >Re: More constraints confusion (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: More constraints confusion
  • Next by Date: Re: More constraints confusion
  • Previous by thread: Re: More constraints confusion
  • Next by thread: Re: More constraints confusion
  • Index(es):
    • Date
    • Thread