Xcode Interface Builder never using standard constant for constraints
| Originator: | me | ||
| Number: | rdar://17336829 | Date Originated: | 16-Jun-2014 06:34 PM |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | Xcode 5.1.1 (5B1008), Xcode 6.0 (6A215l) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Creating constraints in Interface Builder should use the standard constant if it's the same as the position on the canvas. Interface Builder will currently use the actual pixel value as the constant. Steps to Reproduce: 1. Drag any view (e.g. a button) to the canvas, positioning it inside another view snapping to the layout guide so it's a standard distance from the edge or another view. 2. Create a spacing constraint to the other view. 3. Inspect the constraint's constant. Expected Results: Constraint is created with "standard" constant. Actual Results: Constraint is created with a fixed point constant. Version: Xcode 5.1.1 (5B1008), Xcode 6.0 (6A215l) Notes: Configuration: Occurs on both iOS and Mac nibs.
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!