0

Specifically I'm trying to make a progress bar show custom text, but since it doesn't support that I'd like to overlap a label on top of it and have it display my custom text.

In XAML for example, that could be achieved by something like:

  • parent container (vbox)
    • grid (to overlap contents)
      • progress bar
      • label

However I don't see the equivalent of Grid in Godot's layout controls. So short of manually positioning controls on top of each other, how would I achieve something like the above?

1 Answer 1

1

As it turns out, MarginContainer behaves as a XAML Grid that overlaps all its children, even applying its margins to them all. Exactly what I needed!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.