Bug 20235 - Incorrect Autolayout warnings
Summary: Incorrect Autolayout warnings
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 5.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2014-05-31 05:55 UTC by Kraig Spear
Modified: 2014-06-02 12:24 UTC (History)
5 users (show)

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

Storyboard (18.70 KB, application/octet-stream)
2014-05-31 05:55 UTC, Kraig Spear

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 or GitHub 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:

Description Kraig Spear 2014-05-31 05:55:47 UTC
Created attachment 6934 [details]

I have a series of four buttons.

There is an X constraint on the first button.

The following three buttons have their X constraint set to the first button.

There is a reference to this constraint at runtime that moves all of the buttons by changing the constant.

Xcode/Interface designer works as expected.

Xamarin studio shows warnings that the X constraints haven't been set for buttons 2-4

Enclosed is a comparisons of Xcode and Xamarin studio

Screen Shot

Comment 1 Prashant manu 2014-06-02 03:41:01 UTC
Checked with the attached storyboard file and getting same issue. Xamarin studio shows warnings that the X constraints haven't been set for buttons 2,3,4

Screencast for this: http://www.screencast.com/t/853HCRfaf

Environment Info:
Xamarin Studio Version 5.0 (build 878)
Git revision: bcd66920d963483e7d638a2339c4022fe035b529
Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c
Xamarin.iOS Version: Hash: fc6f56b
Comment 2 Jérémie Laval 2014-06-02 12:24:39 UTC
I could open the storyboard without warning in our master version. The fix should make its way to you in the next version.