Hey all,
before the update the tabs were a lot smaller and I personally preferred that to the new tabs, is there a way to shorten the tabs
Hey all,
before the update the tabs were a lot smaller and I personally preferred that to the new tabs, is there a way to shorten the tabs
Assuming youâre using one of the default One themes, you can change itâs layout mode either from the Settings view of the theme, or by adding this to your ~/.atom/config.cson` file
"*":
# other stuff...
"one-dark-ui":
layoutMode: "Compact"
# ...
The supported modes are Auto
(default), Compact
, and Spacious
. The automatic mode adjusts between the two other modes based on the window size.
In One themeâs case, you could also customize them more in your styles.less
file. An example would be:
.theme-one-dark-ui,
.theme-one-light-ui {
.tab-bar {
font-size: 10px; // smaller font size
}
.tab {
min-width: 10em; // larger minimum width
max-width: 16em; // smaller max width
}
}
Is this an actual issue or working as intended? The new tabs take up a good 5% of my screen, which seems ENTIRELY unnecessary.
I shouldnât have to edit CSS as a user to fix what looks bad, should I? At the very least maybe add the options to a GUI somewhere?
Nevermind! I found the dropdown just after posting.
Itâs kind of confusing to have to find the package and edit the settings. Maybe consider making it more prominent?
EDIT: Ok this explains why I couldnât find it beforeâŚ
Window 1:
Window 2:
One of my windows doesnât even show the settings button. Perhaps we should add a link to settings right below the âThemeâ and âSyntaxâ drop downs as well to alleviate any confusion?
âWhat looks badâ is highly subjective. What you may consider to be taking entirely too much space, may be just right for someone who wants bigger click targets. But no, you donât have to edit CSS to change things. There are four UI themes (and more syntax themes) included with Atom on its initial installation and there are many more than that available for installation from https://atom.io/themes.
But using CSS to tweak things to your personal taste if things are pretty close is always an option too
Thereâs actually a Pull Request being worked on right now to put settings buttons next to the theme selectors on the Themes. I think @mnquintana is working on it? So this is already in the works.
Haha âwhat looks badâ isnât out I meant it. I meant âwhat looks bad to meâ. Sorry about that.
It would seem that we want this editor to be usable by the masses (otherwise Settings would be all JSON/CSON/YAML instead of such a beautiful menu). I was hoping to see customizing tabs to get the same love (awesome on the pull request!)
Did you see my follow up? There seems to be a bug with the settings button not always showing up, which explains all my problems in the first place If youâre not familiar, maybe I should post that as an issue?
Yes, I saw your follow up and my mention of the Pull Request is in direct response to that. Hereâs a link to the PR:
Amazing! Thanks @leedohm. You do good work around here and I know you have to deal with a lot of bullshit. Keep it up!
There seems to be a bug with the settings button not always showing up
It might be this issue: https://github.com/atom/settings-view/issues/347
Re: wide tabs. I agree that just by looking at them, they seem a bit wide. But some people use quite long file names 1 + 2, so not having them cut off too early makes the tabs more usable for them. Itâs always a balancing act to find a way that works for most people. Thatâs why itâs nice to be able to customize with CSS if you really want/need to.
Well, actually it is a programming editor. But I guess some programmers might be classified as part of the masses. (grin)