Horizontal Foldable Container?

Godot Version

Godot 4.5.1

Question

Hi, I'm new to this forum I hope I'm posting in the right category. I'm learning how to make menus and UI, I made a mock-up of what I want to make and it includes a foldable element that folds to the right (or left, ideally changeable in settings of the game).
I found the FoldableContainer that does exactly what I want but it seems to only work for vertical openings.
Is there any equivalent to it or setting to make it horizontal that I would have missed, or do I have to make it myself?
If I have to make it, what would be the best approach? Can I do that with GDscript? inheriting from FoldableContainer? Should I make a proposal issue on github?