I recently asked a very similar question to this on stackoverflow. Answer: Edit the constraints using the properties/utilities area and not using drag/drop as the XCode/IB drag-drop constraint engine is horribly broken. It even creates duplicate constraints for you that can't be deleted.
http://stackoverflow.com/questions/15077590/how-do-i-create-a-view-that-resizes-between-iphone-5-and-iphone-4-comparable-to/15098931#15098931 Warren On Sat, Mar 2, 2013 at 5:43 PM, Rick Mann <[email protected]> wrote: > For the life of me, I can't get IB to behave the way I want it to (or, I > don't understand how to use IB). > > In this scenario, I want to add some widgets to a window. First I need to > make space in the window, so I command-drag the bottom edge to enlarge it. > I thought holding command while dragging the window was supposed to grow > the window without enforcing the constraints and moving things within. > > But two controls I have, that are supposed to stick to another control > above them, keep moving with the bottom edge. This is because there's an > implicit (added by IB) constraint of fixed distance between one to the > bottom edge, and the other control is aligned to the first. > > Something else I just noticed: command-dragging the bottom edge of the > window actually removed constraints. Simple dragging does not remove those > constraints. > > So, my first question: what does command-dragging the bottom of the window > actually do? > > -- > Rick > > > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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/warren.postma%40gmail.com > > This email sent to [email protected] > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
