I noticed that it’s possible to change the title of each tab without any problem, but I can’t find a way to add a subtitle (Image ref 2). Is it possible to do this with TabContainer, or would I need to create a tab system from scratch?
I don’t think there’s a native way of doing it but..
Maybe you can inject the extra Control node for the subtitles on runtime in a ready function by using get_tab_control(tab_idx: int) method of tabcontainer.
Good News:
I managed to get it working within the current TabContainers system.
Bad News:
It was a little more difficult than I expected.
First thing:
The final result looks like this!
How I did it:
The nodes that will be the subtitles (in my case, they were simple Label nodes) cannot be inside the tabs, since every time the tab changes, it hides the contents of the others.
I ended up creating a subtitle manager to be the parent of all subtitle nodes (remember to make it ignore the mouse) and made it a sibling of the Tab container (Image 1).