Download

Can not set height of a SProgressBar

I’m trying to set the height of a SProgressBar as follow , but it seems it does not work. What I’ve missed , many thanks!

SNew(SBox).HeightOverride(20.0f)
[
  SNew(SProgressBar).Percent_Lambda([&] {
      return Inc ? (Percent>=1 ? (Inc=false,Percent) : Percent+=0.001) :
                   (Percent<=0 ? (Inc=true ,Percent) : Percent-=0.005);
  })
]