Ejemplo n.º 1
0
        public override void LayoutSubviews()
        {
            CGAffineTransform transform = CGAffineTransform.MakeScale(1.5f, 12.0f);

            transform.TransformSize(this.Frame.Size);
            this.Transform = transform;
        }
        private void UpdateFrame()
        {
            CGRect frame = AnswerSlider.Frame;

            frame.Y            = frame.Y + 15;
            ProgressView.Frame = frame;
            CGAffineTransform transform = CGAffineTransform.MakeScale(1.0f, 20.0f);

            transform.TransformSize(ProgressView.Frame.Size);
            ProgressView.Transform = transform;
        }
        public override void LayoutSubviews()
        {
            base.LayoutSubviews();

            var X = 1.0f;
            var Y = 10.0f;

            CGAffineTransform transform = CGAffineTransform.MakeScale(X, Y);

            transform.TransformSize(this.Frame.Size);
            this.Transform           = transform;
            this.ClipsToBounds       = true;
            this.Layer.MasksToBounds = true;
        }