Subview Resizes with Superview
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