system
March 7, 2016, 2:05am
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
wombatTurkey
Old Version
Published before Godot 3 was released.
Hey guys,
Loving Godot, it’s amazing. I followed this guide:
http://docs.godotengine.org/en/latest/tutorials/asset_pipeline/importing_fonts.html?highlight=font
And created my own custom theme (well, re-skined the default one haha), but now, whenever I add new nodes into my game I have to manually go to the theme property and assign my new theme.
I’m just curious, as I’m developing a fairly large game, I was wondering if it’s possible to edit the default theme assigned to newly created nodes?
system
March 7, 2016, 2:22am
4
Reply From:
volzhs
AFAIK, theme is applied all nodes under themed node.
Control <= theme assigned
- Button
- Label
- Etc
if you assign theme to Control ,
all children and grandchildren will have same theme.
So, make a container control node and assign theme,
and add rest of controls under the node.
Oh yep, this works! It does show null on the new node that I created under the Controller. But it’s still using the parent’s theme.
This is awesome, you just saved me a lot of time, thank you.
wombatTurkey | 2016-03-07 02:25
system
June 9, 2023, 11:30am
5
Reply From:
d2clon
For the people from the future like me. In Godot 4 I see there is a Project Settings for this:
Project Settings > General > GUI > Theme > Custom