-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't allow tabs to expand when using editor.wrapTabs #116145
Comments
(Experimental duplicate detection) |
I'm not super familiar with the VSCode code but playing around with the inspector it seems removing this style rule almost achieves what I'm looking for. .monaco-workbench .part.editor>.content .editor-group-container>.title>.tabs-and-actions-container.wrapping .tabs-container>.tab.sizing-fit {
flex-grow:1;
} However it does seem this has the side-effect of allow a row that's not the "last" one have empty space at the end of it which I assume is why this rule was created in the first place. I think a good solution might be to prevent the |
Duplicate of #113801 |
1 similar comment
Duplicate of #113801 |
Haha race to the finish @yume-chan and @meganrogge! Thanks guys, I tried looking first but couldn't find that issue for some reason. 👍 |
When tabs wrap to a new line the they start to stretch and expand to fill available space on the new row. This is conflicting behavior with how they behave if there are not enough tabs to fill the first row. In this case they all keep the max width they should take up and no more. I would expect all tabs to act this way regardless of which row they are on, not expand. I find the expanding looks wrong, the close
X
is too far away from the file name. Same problem when combined with the neweditor.decorations.badges
, they can be very "far" from the filename.Please at least add an option to not allow the tabs to expand.
Steps to Reproduce:
editor.wrapTabs
The text was updated successfully, but these errors were encountered: