Ejemplo n.º 1
0
        void addEdgeConstraint(NSLayoutAttribute edge, NSView parentView, NSView subView)
        {
            var constraint = NSLayoutConstraint.Create(subView, edge, NSLayoutRelation.Equal, parentView, edge, 1, 0);

            parentView.AddConstraint(constraint);
        }
Ejemplo n.º 2
0
 void addEdgeConstraint(NSLayoutAttribute edge, NSView parentView, NSView subView)
 {
     var constraint = NSLayoutConstraint.Create(subView, edge, NSLayoutRelation.Equal, parentView, edge, 1, 0);
     parentView.AddConstraint(constraint);
 }