• 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
More constraints confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More constraints confusion


  • Subject: More constraints confusion
  • From: Rick Mann <email@hidden>
  • Date: Thu, 25 Apr 2013 16:39:00 -0700

I put an NSImageView into a window. I want the NSImageView's frame to always fill the window content frame.

When I dropped it in, IB gave it a width and height constraint that I can't edit. I sized it to fit the window, and it also added leading and trailing space constraints.

I explicitly set top and bottom constraints.

But the width & height constraints can't be edited. If I promote them to user constraints, and then try to delete them, they just come back.

Why does IB think they are necessary?

--
Rick




_______________________________________________

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

  • Follow-Ups:
    • Re: More constraints confusion
      • From: Chuck Soper <email@hidden>
  • Prev by Date: Re: ^Block statement considered harmful for callbacks?
  • Next by Date: Re: More constraints confusion
  • Previous by thread: SMLoginItemSetEnabled ACL Problem
  • Next by thread: Re: More constraints confusion
  • Index(es):
    • Date
    • Thread