How to make TabContainer that shows scroll buttons

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Daniel Lewan
:warning: Old Version Published before Godot 3 was released.

When you open a lot of tabs in Godot editor you can scroll them using two little buttons on the right side
enter image description here

I am trying to replicate this behavior using TabContainer but in my scene those buttons are outside of screen.

enter image description here
enter image description here

That’s how scene hierarchy looks like this:

enter image description here

How to fix this?

Parent your buttons to something outside and above the tab container.

avencherus | 2016-10-31 13:42

Buttons are built in into TabsContainer, I didn’t created them.

Daniel Lewan | 2016-10-31 14:13

I see, I think it’s either a bug or it hasn’t been fully implemented. There’s also not much in the API about it. You might want to open an issue about it.

avencherus | 2016-10-31 14:20

Ok, heres is issue link for reference: TabsConainer scroll buttons are drawn outside of control · Issue #6997 · godotengine/godot · GitHub

Daniel Lewan | 2016-10-31 16:38