Add theme type variations for secondary Trees and ItemLists #97884
+27
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This aims to address the issue raised in passivestar/godot-minimal-theme#8
This PR has no effect on the default theme.
One of the reasons I made a theme was to simplify the layout by removing some of the docks' background panels. But there's an issue with that.
In Godot some trees occupy the majority of their containers and show what you could call "primary content", like the trees in the Scene and the FileSystem docks, or the main area of the File Dialog. Meanwhile some other trees (and itemlists) show secondary "sidebar" content, like the ones on the left in the Shader Editor, Profiler, Create Dialog, etc. Those sidebar trees and lists need to have background panels to be visually separated from the rest of the content, but it's impossible to have different background panels for them that wouldn't affect "primary" lists
This PR adds type variations for secondary lists to make it possible to theme them separately
Theme for testing: godot-minimal-theme.zip