Re: More IB constraints woes
Re: More IB constraints woes
- Subject: Re: More IB constraints woes
- From: Warren Postma <email@hidden>
- Date: Sat, 02 Mar 2013 18:26:04 -0500
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@hidden> 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@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
>
_______________________________________________
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