• 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
Subview Resizes with Superview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subview Resizes with Superview


  • Subject: Subview Resizes with Superview
  • From: Ian was here <email@hidden>
  • Date: Thu, 21 Jan 2016 21:09:46 +0000 (UTC)

I have a (hopefully) simple question in regard to view constraints in Xcode 7.
I have a view that I am programmatically adding to another view (as its subview). This view is the same size as its superview and should resize exactly the same. The superview is bound to an NSDrawer. When resizing the window that the drawer is attached to, the subview does not resize.
Ideally, when the window is resized, the subview within the drawer would resize as well. In previous versions of Xcode, one would just select the view, then go to the size inspector and set the view's width and height as flexible. I don't see how to do this in Xcode 7 using the pin and align pop-up menu.
Any help would be appreciated. Thanks!
_______________________________________________

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


  • Prev by Date: Re: 32-bit / 64-bit roadmap
  • Next by Date: Problem Archiving/Un-archiving Custom Objects
  • Previous by thread: DeepCopy Arrays and Dictionaries
  • Next by thread: Using an anchor in NSURL file url
  • Index(es):
    • Date
    • Thread