On Feb 25, 2013, at 11:47 PM, Rick Mann <rm...@latencyzero.com> wrote:
> > On Feb 25, 2013, at 23:44 , Kyle Sluder <k...@ksluder.com> wrote: > >> You'll never see the constraints created for content hugging or compression >> resistance. >> >> IB refuses to let your interface be underspecified. If you remove a >> constraint necessary to fully specify your interface, it will tend to >> install fixed-size constraints that reflect your views' current frames. >> >> In the nib containing your subviews, is "translates autoresizing mask into >> constraints" turned off for your root view (that is, the superview of your >> text fields)? This needs to be on during design time to stifle IB's >> incredibly annoying behavior of inserting constraints to avoid >> underspecified interfaces. Right before you insert the subviews into the >> window's view hierarchy, turn off this property programmatically. > > Heh, I was just about to write you a note complaining about how IB inserts > constraints all the time. It really screws things up. I think I've finally > figured out how a gray disabled width constraint can be removed. Add > sufficient constraints, then size that thing to fit. Yes, sizing to fit is important for getting rid of spurious constraints. ;-) Good job figuring that out. I forgot to mention it. > > IB really needs to just flag the thing as unconstrained, and give me a button > to "insert necessary constraints," but not do it automatically. It's nearly > impossible to see the constraints as displayed graphically, and adding before > removing just makes it that much harder. Yes it does! Please dupe rdar://problem/12986107. > > Anyway, I think I finally have it correctly specified. Thanks for all your > help, Kyle. Awesome! Best of luck. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com