Bug 26238 - Adding constraints allows duplicate Constraints
Summary: Adding constraints allows duplicate Constraints
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 3.9
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-21 11:06 UTC by pat
Modified: 2016-05-11 15:07 UTC (History)
8 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 ANSWERED

Description pat 2015-01-21 11:06:56 UTC
When adding a Height or Width constraint you can easily add a duplicate constraint. Duplicate layout constraints are pointless and no supported. The designer in VS 2013 should not add a duplicate
Comment 1 Alan McGovern 2016-05-11 15:07:56 UTC
There are two examples of where this support is required:

* You can add one width constraint per sizeclass, in this scenario only one would actually be active at runtime.

* You can add multiple width constraints in the same sizeclass, but one could be a >= constraint and one could be a <= constraint. In this scenario you'd have multiple width constraints active at the same time.