Bug 55192 - Contraint constant properties are incorrect in the property window
Summary: Contraint constant properties are incorrect in the property window
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 4.4.0 (15.1)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-04-13 18:57 UTC by softlion
Modified: 2017-05-26 14:01 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description softlion 2017-04-13 18:57:25 UTC
When a contraint is selected in the designer (VS2015 or Xamarin Studio), the value that appear in the "constant" field in a Contraint element are incorrect in the property window. The displayed value is the value of a previously selected Constraint element instead of the currently selected Constraint element.

Also, on a french Windows, you can not enter a floating point number in any of the constant or the multiplier fields, because in this language the decimal separator is a comma not a dot.

Reproduce:
Create a native xamarin ios project in VS2015 in Windows. Open one of the storyboard. Add a UILabel. Add a top and left contraint. Select the top constraint in order to display it in the property window. Note the value of the constant field. Select the left constraint in order to display it in the property window. The value will be the same as the top value instead of being the correct value.

Note that in xcode, you can change constraint properties directly from the constraint list in a widget's property window, which is very useful.