0 votes

I just wish to control the theme at runtime and I noticed that loading the applied theme, and changing something only applies if I call update() on every single GUI elements. Actually the Labels take the new font color if I change their text or if I call update() on them. The solution should be to call update() on the parent container of the entire GUI but it does not call it recursively, so I have to call update() on every labels manually. It becomes a maintenance nightmare.

asked May 24 in Projects by Ram (100 points)

1 Answer

0 votes
Best answer

A nice person on discord gave me the solution :

propagate_call("update")

answered May 24 by Ram (100 points)
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 How to use this Q&A? before posting your first questions.