I just updated my Xamarin version and I found that I cannot constraint to the leading edge or trailing edge of the Container View. However, I can only constraint to the Leading margin or Trailing margin(Picture Attached). Is there a way to let me constraint to the edges of a super view not the margin?
Here's my workaround for the time being:
FYI, this doesn't appear to be an issue in Xamarin Studio, just VS.
I was able to resolve this in Visual Studio 2017 interface by doing the following:
Properties
click the Widget
tab and find the Layout Constraint
section. One of the items under this section will have a Relative to Margin
checkbox checked. Uncheck that, then set the Constant
from its default (mine was 20) to 0.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.