Forum Xamarin.Forms

How to increase height of Progress bar custom renderer

Hi Guys ,
I have Created the ProgressBar Custom Renderer to show download progress and its working fine
functionally but I dont want to compromise with height of progress I used method bellow in iOS renderer which allowing me to increase height of progress bar but while the progress of progress bar increase at that time its taking by default height of progress bar .

Only first time its increasing height after progress height just GONE!
public override void LayoutSubviews()
{
base.LayoutSubviews();

        var X = 1.0f;
        var Y = 10.0f; // This changes the height

        CGAffineTransform transform = CGAffineTransform.MakeScale(X, Y);
        this.Transform = transform;
    }

Please help me ASAP I need it :)

Best Answers

Answers

  • NidhiThakkarNidhiThakkar USMember ✭✭

    Same issue. Progressbar.ProgressTo() reduces the height in iOS. Any other solution for this?

Sign In or Register to comment.