Switching tabs in TabContainer if its too small to display them all

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dasdahh

Hi! Let’s say I have a TabContainer where not all of the tabs can be displayed due to its size.

Like this:
enter image description here
Can I, somehow, get these arrows:
enter image description here
through code so that I could modify them from simply scrolling through tabs to actually changing them as well? There’s not a signal for them in the tab container / nor are they a separate node.

Or will I have to cook up my own tab container for this? ;(

:bust_in_silhouette: Reply From: CollCaz

There is no way to access these sadly.
I did figure out a hacky solution to this but there is no way to keep the buttons from being greyed out when you still have tabs to cycle through

id say its best to either give up on this feature as i personally don’t think its worth the time or maybe try to edit the source code and add a signal to these or something.

Sad. Oh well, back to the buttons we go!

Thanks for the answer :wink:

dasdahh | 2023-05-10 21:00

you are welcome!
if you do decide to make your own solution then good luck!

CollCaz | 2023-05-10 22:13