Align the tabs in TabContainer.

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

I want to align the tabs to the left side. The inspector of Godot Engine has ‘Tab Align’ property, but it doesn’t work as I thought.
I want to align the tabs without any space however, TabContainer class looks like this.

I don’t want that red circle part. How can I remove this?

:bust_in_silhouette: Reply From: jgodfrey

You’ll need to add a Theme to the tab container, and then adjust the side margin constants. Here’s another post with a basic walkthrough.

I didn’t notice there exists side margin property in theme! Thank you.

kimkihwan | 2022-08-25 05:18