Add fixed sized workbench tabs#40750
Conversation
|
@StefanScherer thanks for the contribution but I do not see why this cannot be achieved with the solution we have for the Chrome for example also has a similar tab sizing behaviour as our shrinking and still manages to have the behaviour of allowing to quickly close tabs without moving the mouse. I think tabs only resize when the mouse leaves the tab stripe. |
|
@bpasero Thanks for the link. Yes #40290 indeed looks good. The only thing is that the example shown there uses oldmost same sized tabs (Untitled-1, Untitled-2, ...) even if there are only a few tabs open. The problem I see with |
|
@StefanScherer yeah but then let's try to get at the tab sizing that e.g. Chrome does where each tab has the same width but when you reduce the size of the parent container, all tabs shrink evenly. With your proposed solution I see a scrollbar showing up when doing so: |
|
@StefanScherer are you still planning to work on this? |
|
@bpasero No, I'm occupied with other things so I can't spend much spare time to implement this. But I can help testing if somebody else comes up with another solution. |
|
Ok thanks, closing then. |


This is a PoC for #38594 to have fixed tab sizes so that someone can close multiple tabs by pushing close button multiple times at the same mouse position.
Following #39176 I added a
fixedsetting forworkbench.editor.tabSizingThis is how it looks like:
I'm not fully happy with this as the tabs could be resized to fit after some seconds of inactivity. This is how browsers do that.
I've also played with
widthandmin-widthwhich shrinks the tabs if many tabs are open:But this immediatelly increases them when closing one tab. So the user will miss the close button after closing one tab.
So is there a way to add some kind of timer to do that resizing?