Replies: 2 comments 1 reply
-
Minimum width technically still allows content that really needs more space to exceed the limit. I think a better fit is to add something like a |
Beta Was this translation helpful? Give feedback.
1 reply
-
I wrote a script NSTabsMgr for this. Attach it to a stand-alone Node. Feed references of tab buttons and tab contents as 2 arrays. NSTabsMgr listens to button_up events and hides certain nodes according to which button is pressed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I intend to enforce a constant width for all tabs. The current behavior is to shrink (adapting to text content) as much as possible to minimize total width. I could not find a way to make this happen in Godot documentation or online discussions. StyleBox does not have a minimum width feature and that looks legit; it appears that TabContainer should solve this on its own. Let me know if any solution is available now.
Beta Was this translation helpful? Give feedback.
All reactions