Adding nonexistent styles to a theme

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ykoc

On one of community resources we have a discussion about GUI themming around non-existent styles for some controls. One of the community members states that this is not a problem at all. To proof his position he posted this screenshot

Comment - by default (as can be seen in theme editor and in https://github.com/godotengine/godot/blob/master/scene/resources/default_theme/default_theme.cpp) TabContainer has no Tab_Disabled style - only Tab_bg and Tab_fg

So I have to ask - how can it be done? Does adding a style exist within engine tools (in this case why there is no documentation on this tool) ? Or one have to add code for this into engine itself?

What are the controls you need help with styling? A good source to get started with creating control themes would be the GUI skinning guide, unless what you need is very specific, in which case you might need to create one using C++.

SASUPERNOVA | 2018-10-23 14:50

I had read that guide 3 times - in 2.1, 3.0 and in current 3.1. It describes a process quite good but not the meaning of all that styles.
For now I stuck on themeng TabContainer and ItemList. And it is more about finding what styles are really exist. Following mentioned guide I thought that there was no style for disabled tab - but people tell me to simply add this style to a theme using notepad. And miraculously it works. So I have no idea how to find all styles with their descriptions. And I have no idea why this this area is so bad-documented

ykoc | 2018-10-23 16:08