Remove vertical padding from horizontal ProgressBar

后端 未结 22 1999
眼角桃花
眼角桃花 2020-11-28 03:30

By default the ProgressBar has a certain padding above and below the bar itself. Is there a way to remove this padding so as to only have the bar in the end?

22条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 04:22

    Try the following:

    
    

    ... and then configure the progress bar to your needs since it'll initially display a mid-sized bar with a yellow-colored progress tint with a grayish progress background tint. Also, notice that there's no vertical padding.

提交回复
热议问题