Why does this TextureProgressBar fill almost the entire screen?

Godot Version

4.3

Question

Hello! I’m trying to add a healthbar using the texture progress bar but its taking up a lot more space than I’m thinking it should. Here are some pictures of how its set up. Is there anything I can take an extra look at to make it smaller? I’m thinking it should be like 10% as high and 50% as wide than it currently is.


just set the Size to your desired size, and then change this:
image
the Anchor Preset to Center
then
to Center Top again

I was not able to change the size. I now realize that the TextureProgressBar’s size is controlled by the size of the texture but I enabled “Nine Patch Stretch” and then I was able to change the size how I wanted. Thanks for the tip though!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.