Forum Xamarin.Forms

Remove margin in ProgressBar

Can the margin in the ProgressBar bar be removed and put it touching the NavigationBar?
I have it in a stacklayout with padding and spacing in 0.


  • @BrunoPasquini Ever found a solution?

  • ZeroWorksZeroWorks USMember

    I achieved this using HeightRequest:

            Progress="0.5" />

    Unfortunately can't post picture.

    Capture from android emulator, using xamarin, not tested in other platforms yet.

  • johnsonjoseph.1834johnsonjoseph.1834 USMember ✭✭
    edited November 2019

    The above solution doesn't work, a better way is to give a -ve margin like this:
    Margin="-6" ProgressColor="Orange"

  • Set HeightRequest="2" make the magic!

  • DannyBOAHDannyBOAH Member ✭✭

    Is there an official solution to this bug?

Sign In or Register to comment.