Godot Version
4.3.stable
Question
I used to have a GridContainer that worked fine when used with buttons that would act like a TabContainer, but that was before I found the TabContainer control.
Now, when used with the TabContainer control, I can’t see the GridContainer at all, only if I move it outside of it.
Here’s when I can see it. As shown, it’s directly on the root base control.
and here you can see it in game:
Here’s what it’s not behaving the way I want it to (tree):
and here’s the result (or lack thereof) in the game:
I’ve been trying to fix that for a while now and my brain is fried. I’m not sure what or where to look for. There must be something I’m doing wrong.
The GridContainer values are basic unchanged stuff except for column which is set at 5. As far as the parent, the TabContainer’s values, for those that are not default are:
- Tab Alignment : Center
- Current Tab : 0
- Clip Tabs : Off
- Use Hidden Tabs for Min Size : On
- Tab Focus Mode : Click
- Container Sizing : Vertical : Fill : Expended : On
- Theme Overrides : Styles : Tab Focus (StyleBoxEmpty)
- Theme Overrides : Styles : Tab Selected (StyleBoxLine)
I’ve tried to revert everything to default, but to no avail, I still don’t get the thing to appear.
Thoughts? Suggestions? Stating the obvious that I miss?
TIA