atom-material / atom-material-ui

A dynamic UI theme for Atom that follows Google's Material Design Guidelines
MIT License
817 stars 204 forks source link

Tabs disappear after they fill the viewport #229

Closed leofle closed 8 years ago

leofle commented 8 years ago

When there is enough tabs to fill the viewport all the extra tabs disappear to the right, out of sight. screen shot 2016-02-25 at 8 54 36 am

silvestreh commented 8 years ago

Yeah, you should scroll your tab bar to get to the others.

jamby commented 8 years ago

Is there any way we can disable it? It's frustrating.

christoga commented 8 years ago

Don't open a lot of file then.

WoodyWoodsta commented 8 years ago

@jamby Could you offer an alternate solution then? If there were an option to disable it, what arrangement would be left as an alternative?

jamby commented 8 years ago

@christoga I don't usually like to, but since I can't see that I'm opening files since they don't fit, I don't realize it until too late.

@WoodyWoodsta Wouldn't a good way is let it be like the default Atom (or maybe it's just some other themes)? Basically, the more I open, the smaller and smaller the tabs get, even if I can't see the file names anymore.

The above way usually prompts me to close tabs because I can visually see I'm opening too many tabs, whereas the way now I don't even know I've opened that many tabs because it's out of the viewport.

supremebeing7 commented 8 years ago

@jamby I'm in the same boat - I try to keep few tabs open at once, but occasionally that just doesn't happen, and it's nice to see all of the open tabs without having them overflow off the tab bar. If you haven't already found a solution, here's how you can edit the stylesheet to make this work the way you wish:

.tab-bar {
  .tab {
    min-width: initial;
  }
}
supremebeing7 commented 8 years ago

(I also added max-width: initial; to make the tabs fill the entire tab bar - Example: http://i.imgur.com/rMHxYBt.png. Super helpful when I want to close a bunch of tabs at once when they start getting out of control.)

jared-christensen commented 8 years ago

I don't like part of the title getting cut off. Here is what I came up with. https://gist.github.com/jared-christensen/29271832c56cb1c69ae6aef2312ae9d1

gertsonderby commented 8 years ago

Welp. The fact that this was just closed with no explanation by the maintainer, and ridiculed by community members (Seriously, "open fewer files", do you even code, bro?), means I'll be finding a different theme to use now. kthxbye.

silvestreh commented 8 years ago

@gertsonderby The PR where this was resolved is even mentioned in this issue.

captura de pantalla 2016-09-21 a las 8 14 29 a m

I can recommend SetiUI.

kthxbye.