AutoLayout: Make it explicit in Interface Builder when an object is using its intrinsic content size

Originator:amorya
Number:rdar://13683456 Date Originated:18-Apr-2013 02:08 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.6 (4H127)
Classification:UI/Usability Reproducible:Not Applicable
 
In AutoLayout-land, sometimes the intrinsic content size of an object (in one or both dimensions) can be used to help compute the layout.

I would like IB to do two things to make this easier to work with:

1. When an object is using its intrinsic content size for layout purposes, put a green arrow across the width or height of the object (or some other colour that isn't the same as the ones currently used for layout constraints).

2. Have an option in the popup constraints menu (i.e. the floaty button in the bottom right), that has "Pin width to intrinsic content size" and "Pin height to intrinsic content size". These should only be enabled for a view that supports the intrinsic content size.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!