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?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
I was able to resolve this in Visual Studio 2017 interface by doing the following:
Properties
click theWidget
tab and find theLayout Constraint
section. One of the items under this section will have aRelative to Margin
checkbox checked. Uncheck that, then set theConstant
from its default (mine was 20) to 0.Here's my workaround for the time being:
FYI, this doesn't appear to be an issue in Xamarin Studio, just VS.
If you are using a macOS, you can use Xcode interface builder to achieve the same.