DirectWaitBar width

I’m finding the DirectWaitBar a useful gui control in my game, but I have come across a small problem. I cannot seem to figure out how to reduce its width. Of course I can set the scale, but that also changes the height. I looked in the manual and in the code and I could not find the method.

I’m hopeful I just missed it, could anyone enlighten me?



Can’t you call setSx() ?

Yes that works, thanks!