0 votes

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 Tab_Disabled style

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 TabDisabled style - only Tabbg 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?

in Engine by (12 points)

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++.

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

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 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 webmaster@godotengine.org with your username.