Example #1
0
        protected override void SetupLayoutConstraints()
        {
            base.SetupLayoutConstraints();

            this.SubviewsDoNotTranslateAutoresizingMaskIntoConstraints();

            this.AddConstraints(
                ImageView.Width().EqualTo(74),
                ImageView.Height().EqualTo(74),
                ImageView.AtTopOf(this, 15),
                ImageView.WithSameCenterX(this),
                TitleLabel.Below(ImageView, 8),
                TitleLabel.WithSameCenterX(this));
        }