Esempio n. 1
0
        public void NSStackViewShouldChangeHuggingPriority()
        {
            var huggingPriority = view.HuggingPriority(NSLayoutConstraintOrientation.Horizontal);

            view.SetHuggingPriority(huggingPriority + 10, NSLayoutConstraintOrientation.Horizontal);

            Assert.IsFalse(view.HuggingPriority(NSLayoutConstraintOrientation.Horizontal) == huggingPriority,
                           "NSStackViewShouldChangeHuggingPriority - Failed to set HuggingPriority");
        }