-
Notifications
You must be signed in to change notification settings - Fork 3
Full-blown pinning #43
Comments
Interesting 🤔 I've never run into a situation where I had that many tabs open, good suggestion tho! |
@brettz9, what theme (or maybe packages/config) are you using? I'm not able to replicate the issue with the theme |
I'm using One Dark for both UI Theme and Syntax Theme. (I just have one other non-core theme, a syntax theme, |
Alright 🤔 Just to be clear, are you using Visual Studio style pinned tabs? |
Nope. |
I managed to reproduce it now (although I needed more tabs then there are files in this project 😅) The first thing I would like to note is that One Dark itself does not even seem to have a good solution for this, tabs are just pushed outside of the window and you can only get them back by opening the file again... But on topic, I'm not yet sure how this should be implemented. I guess you imagined something like the image ⬇️? I don't think using Do you have any ideas/suggestions @brettz9 ? |
Yes, like that image, if the mail icon on the left is a pinned tab. In the developer tools, I got something roughly working. I didn't get it exactly working, as I don't know how it fits in with your extension and maybe you have reasons this kind of approach wouldn't work. For the tab-bar position: fixed; left: 400px; top: 25px; z-index: 1; overflow: auto; width: 700px; For a pinned tab, I added: position: fixed; left: 335px; top: 25px; z-index: 1; background-color: red; I don't know if this can practically be computed with |
Related to #43. When using VS style pinned tabs, the pinned tabs now have a (configurable) minimum width, so they maintain a certain precedence when there is an overflow of tabs in the tab-bar.
That doesn't look very much like it is easily compatible with different setups 😅 I will see if I can get anything working though 👍 |
Thanks... But please don't exert too much over this. Tab overflow doesn't happen that frequently for me. It will happen even less if I can use Save Workspace, but there is currently some kind of conflict with your extension which I've reported at denieler/save-workspace-atom-plugin#23 (and it also doesn't remember the pinned state). |
When I have a lot of tabs open, the "pinned" tabs go out of view. It'd be nice if some fixed styling could be applied to ensure the pinned ones always stay in view (as in the browser)...
The text was updated successfully, but these errors were encountered: