IB displays negative constraints with trailing zeros: -5.000000

Number:rdar://35175686 Date Originated:10/25/2017
Status:Closed Resolved:11/06/2017
Product:Developer Tools Product Version:Xcode 9.0 (9A235)
Classification:UI/Usability Reproducible:yes
Positive layout constraint values are shown like "5" whereas negative value are shown like "-5.000000" (with trailing zeroes) in the Layout Inspector of a view.

Steps to Reproduce:
In IB, create a negative layout constraint, or edit a constraint and use "Reverse First and Second Item" (in the pull-down menu for First Item or Second Item). Then select one of the corresponding views and check the values in the Layout Inspector pane.

Expected Results:
Values like "5" and "-5".

Actual Results:
Values like "5" and "-5.000000".


Fixed in Xcode version 9.2 beta (9C34b)

By dr.eric.roller at Nov. 8, 2017, 10:04 p.m. (reply...)

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!