ignism/nucleus-dark-ui

Adding collapsing tabs

Opened this issue · 10 comments

This is just a personal preference — that others may share — but I would like to be able to make the tabs collapse to a maximum size, rather than always having them span the window equally.

Do you think it would be appropriate to add this as an option? I'm considering having a go at implementing this myself.

I am considering this as an option, yes. As an OS X user myself, I designed the theme to feel native in that environment. But by all means, feel free to fork it and have a go at it.

Alright then, I'll give it a punt!

Would love this functionality as well. Not the biggest fan of opening new tabs and already opened tabs have changed position!

@WoodyWoodsta You might want to try Sublime Tabs add-on, it doesn't open tabs everytime you click a file.

@ignism Thanks! Though I have that already (can't remember what package). If I in fact do add more tabs to the workspace, then I wouldn't mind the original tabs remaining where they were. From a UX point of view, it is more comfortable for the user 😄

Bump.

Another vote for this. Possibly add a configuration option for doing this, like isotope-ui does?

Add this to your Atom stylesheet and yo should be fine (you may have to change the colors to match your current syntax theme):

.tab-bar {
background-color: #202228;
border-bottom: 1px solid #363b44;
}

.tab-bar .tab {
display: inline-table;
border-bottom: 0;
}

.tab-bar .tab.active:last-child, .tab-bar .tab:hover.active:last-child {
border-right: 1px solid #363b44;
}

You can also wrap the above with

.theme-nucleus-dark-ui { }

so that it only affects the UI when this theme is active.

I personally think this should be added as an option, since when I only have 1 or 2 tabs open the huge tabs bug me.

If it's all there, (someone posted the css, it's simple to put that behind) I would eventually give this a shot... Adding this to a long list of thing I'd like to fix is OSS I use. 😅

I will implement this in the next major patch (YAY! 1.0.0 coming soon!)