Jump to content

Progressbar not getting completely filled


Asaliii

Recommended Posts

Hello,

I have a rectangular shape progressbar which I would like to be filled by pressing a button. but my problem is that it won't fill the whole progressbar and a little portion of it fron the end will remain empty.

does this have anything to do with my customdrawing function? I am using gwinProgressbarDraw_Std().

Thanks,

Link to comment
Share on other sites

image.png.77160384ae1bdcdda5014341c7582816.png

 

So imagine this is my progressbar and the max pos that it will fill is shown in black.

I am using custom rendering function which is a transparent version of  gwinProgressbarDraw_Std()

Edited by Asaliii
Link to comment
Share on other sites

When you commented out the fillarea calls you forgot to also comment out the if statement just before it. The if statement still being there is causing the following if statement to also be conditioned.

Comment out the if statement just before the commented out fillarea statements and I suspect it will work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...