How to add height / width constraint in iOS Designer in Xamarin Studio?
As stated in the title, I want to add an Xcode-like constraint using a Pin button, but there is no such button in Xamarin Studio. I can't figure out where to add the height constraint.
With height constraint I mean constraint like
viewA.height = null * multiplier + constant
i.e. NSLayoutAttribute.NoAttribute
should be used!
How can I do this using iOS Designer?
source to share
You have to left click on the heigth / width pin. Then the constraint is created for you with the current frame size.
UPDATE: In the current Xamarin, when you left-click on the "I-bar" you get two options:
(1) "Width" (or Height), which creates a "Constant Width", for example. "Width = 100" and
(2) "Aspect Ratio" which creates a width-to-height constraint, for example. "Width = 1: 1 * Height".
source to share