Sublime Forum

Change size of file tabs

#1

the default length of file tab (the tab representing each opened file, not the /t tab) is more than necessary (can fit more than 10 opened files). Where can I reduce the size of the tab?

0 Likes

#2

It’s the theme that defines this. You’re going to have to tweak your current one to do this. And the good point is that Sublime Text makes it very easy.

So, in your user folder, create a new file in the Sublime Text’s User folder, called:

<your theme name>.sublime-theme

In there, you can create some rules that are going to overwrite your current theme’s ones. Have a look at this mini tutorial made by buymeasoda.

I really recommend you learn the basic of how the themes are working, it’ll often be useful. So, have a look at the default theme (search width).

1 Like

#3

I don’t think this will work, what’s wrong?

I want to see more opened [file] tabs in tab bar.

        //  the following work
        {
            "class": "tab_label",
            "font.face": "var(font_face_ch)",
            "font.size": "var(font_size_ch)",
        },
       //  the following do not work
        {
            "class": "tab_control",
            "max_margin_trim": 10,
        },
0 Likes