How do you change the style of the header container for a Tabview?

Hi,

I’m making a runtime UI in Unity 2023.2.0b2 with the UI Toolkit and wanted to make use of the TabView feature. I have the TabView and tabs setup, but I can’t figure out how to style the header where the navigation occurs. The container for the header is greyed out in the UI Builder so I can’t make edits to it there as far as I’m aware.

9194954--1281722--image_2023-08-04_114137550.png

I would like to be able to change the background and text color of the tab labels in the header.

How can I accomplish this?

Update: I was able to figure it out. :slight_smile:

Figured it had to be done through USS but couldn’t get that to work for awhile either. Turns out I was using the wrong selector and misspelling it.

If anyone else is wondering this is the correct selector to use:

.unity-tab__header {
 
}

It has two underscores in the name when I thought it only had one.

Hopefully this helps someone else.