On Thu, Mar 27, 2014, at 04:41 PM, Lee Ann Rucker wrote:
> 
> On Mar 27, 2014, at 4:16 PM, Kyle Sluder wrote:
> 
> > 
> > Your right-side holding priority is pretty odd, but that combination
> > should result in the behavior you desire.
> 
> Found that on a google search :)

I'd be wary about setting any priorities so low. The UIKit release notes
mention that setting the content hugging priority below 2 for a UIButton
can result in bad internal layout. Similar problems may arise on the
Mac.

A priority of 1 is even lower than the priority used by -[NSView
fittingSize] — that method uses NSLayoutPriorityFittingSizeCompression
(which is equal to 50).

> 
> Yes, the delegate methods were the first things I ripped out when I made
> it autolayout, along with every setFrame:
> 
> Done! rdar://16451287
> 

Cool. I wish you a speedy and satisfactory reply. :)

--Kyle Sluder

_______________________________________________

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]

Reply via email to