YabataDesign / afterglow-theme

[DEPRECATED] A minimal dark Theme for Sublime Text 2 and 3
http://yabatadesign.github.io/afterglow-theme/
2.12k stars 139 forks source link

Reduce horizontal padding for small tabs #14

Closed dogoku closed 10 years ago

dogoku commented 10 years ago

The horizontal padding is too much for small tabs and the close button is not in the expected position. In addition, the padding becomes a problem when you have a lot of tabs open.

[8,0,5,0] seems to work well, as there's a 2-3px padding on the right coming from somewhere else which I couldn't get rid of

YabataDesign commented 10 years ago

First, thank you very much for the suggestion.

It seems more correct to enable this feature through the user preferences file. In this way, the three types of height tabs could have different types of paddings, as shown in Readme.md: https://github.com/YabataDesign/afterglow-theme#horizontal-padding-tabs

You must first upgrade the package: Package Control: Upgrade Package and select Theme - Afterglow.

Then in Preferences -> Settings - User must add this:

{
    "tabs_padding_small": true
} 

And if necessary, restart Sublime Text.

dogoku commented 10 years ago

cool, thx

I didn't think that someone using the small tabs would want the large padding, that's why i didn't create a seperate option, but I guess it makes sense. mix and match is now possible.

{
    "tabs_medium": true,
    "tabs_padding_small": true
}