This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+2 votes

The three textures of TextureProgress node (Under, Over and Progress) do not align. The sprites are not same size but they match center wise. How can you set the three textures to align using center and not (apparently) top-left corner?

TextureProgress with Fill Mode Bottom to Top

in Engine by (63 points)

I know no way of directly doing this. You can however put a TextureRect with the "Under" Texture. Add a TextureProgress with just the progress texture as child and add a TextureRect (for over) as second child of the Under TextureRect under the TextureProgress.

center align goes not guarantee all three textures combined correctly.
it depends on textures.
if it's really needed, at least, 2 textures need offset position.

I like the way @wombatstampede said to solve this issue.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.