-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Change Vertical Scrollbar Width #30191
Comments
I don't think we currently have any option to customize the width of the vertical scrollbars in the viewlets. |
Is this an Electron limitation? Or do you mean that a means simply doesn't exist in VS Code yet? |
The scrollbars are all custom. e.g. you can change the width of the scrollbars instances in the editor via a hidden option e.g. There is no such option (hidden or not) for the explorer. |
@alexandrudima I get a squiggly line under The editor scrollbar was my biggest issue, but it would be nice to increase the size of the explorer scrollbar too - any chance of exposing this as a config option too? |
It works indeed. Tried the same for the file explorer in the sidebar, but |
This gets my vote as well. Many times now I have wanted that explorer scrollbar to be thicker. I am not on a mobile device!! |
does someone know how to get rid of this atrocious "Unknown configuration setting" warning? |
Why was this closed? explorer.scrollbar.verticalScrollbarSize still doesn't work, and editor.scrollbar.verticalScrollbarSize still has an unknown setting warning (though it does work). @aeschli, you reference #24755, which you've closed, saying an issue about scrollbar width should be opened. But you've also closed this issue, which is about scrollbar width. You even referencing this issue when you say an issue should be opened. What was your intention? |
@paterasMSFT This issue is still open. #24755 was about to issues: color and width. For colors we added some new color ids. Width is covered by this issue. |
Oh, sorry, I thought the Closed label after the reference to #24755 referred to you closing this issue. |
Hello, everyone! My case is a little bit different and I'm attaching a screen picture to show what I mean. Could you help with that? By the way, following the instructions here, I put the code in the settings.json (as you can see inside the red square) and it changed the horizontal scrollbar on the bottom (which is indicated by a red arrow). I do NOT need this one. How can I change the top scrollbar to make it thicker and always visible? I hope I was clear. If not, please, let me know how I can improve my questions. |
I didn't notice a difference for the tab scroll bar when changing |
Did anyone ever figure this out? Explorer sidebar is really bugging me since I have a tiny computer. |
Appologies, I might have closed this too quickly. |
Any news here? |
Hello, yes, it has taken me far too long to bring the normal scrollbars back. With VS Code 1.62.3 (ccbaa2d), here is what I have so far. It would be great if someone could add all the other missing parts. Note that in my case the panel is on the right-hand side. Here are the changes:
.monaco-scrollable-element>.visible {
background: #f3f3f3;
width: 20px !important;
}
The missing and incomplete functionality is:
Could someone be please so kind as to learn how to add these missing pieces and post the resolution to this ticket? Hopefully this should be only a matter of custom CSS. A short note to developers - there is no glory in adding features just for the sake of innovation. At one point, you are overshooting your users and customers with changes that are not required and that are added purely because that can be done, not because they are needed. Constantly tweaking the scrollbars, hiding, removing, fading out or obscuring them along with similar practices are the kind of low-hanging fruits that bring no progress. These are not problems that need resolving. I realize that you are merely a part of a bigger trend among GUI designers who are not sure what to do next but understand that at one point the product, or a given part of it, is complete. The next step is to find a new product, not to find a way to constantly modify the existing one. Resist the urge to modify just because it can be done. We already know that you are capable of building a good product. There is no shame in not changing what works well. Indeed, this is where wisdom lies. Thank you. |
any plan for all scrollbar |
I got pointed to this issue because I created a similar issue that didn't get enough votes: #152113 . My first recollection of a disappearing scrollbar was the first iPhone. On a smartphone screen, UI elements have to be pretty large in order to be interacted with. So a scrollbar exists there more as a feedback mechanism -- an indicator of where you are in a page, and maybe how long the page is -- rather than a tool to convert user input. Many paradigms from small, touch-enabled screens have made their way to large, traditional screens, and some have been for the worse. This is one of them. Yes, showing the scrollbar all the time whether its needed or not is a waste of space. (Didn't IE11 do that?) And VS Code packs a lot in a single window. But making scrollbars hard to interact with -- or hard to find! -- sucks. Make them easy to see, make them easy to drag, and maybe don't make them disappear after half a second. |
Pretty crazy that after nearly four decades of visual interfaces in software, there is still software (Visual Studio Code) that doesn't even implement scrollbars well. C'mon, Microsoft. This has been a solved problem for decades. |
I'd just note that the above doesn't work for the scrollbar in the explorer to the left. |
I opened another issue on the same topic some time ago: #160804 And now I see that there is this one. Mine kind of extends this one and I also see alot of comments here, that are on the same topic as mine, but I don't know how to deal with it now. |
Why is so hard to implement this? It's very annoying. |
Adding a vote to please be able to (1) disable scrollbar fading, (2) disable scrollbar disappearing (except if content not scrollable, then it should disappear), and (3) be able to increase/configure width of explorer scrollbar There's a principle in User Interface design 'larger targets are easier to hit' (Fitt's Law, a principle that some days it feels has become forgotten knowledge). Scrollbars generally used to be wider relative to display width, then at some stage there was a trend toward impractically narrower scrollbars Scrollbars serve important practical purposes to users even if some may not like them This may sound like a minor nitpick, but I'm trying to do a tricky merge task of four different branches of a repo loaded at once so I can quickly jump around and view/compare/edit/consolidate the four different branches via explorer, and not being able to see the scroll position means I can't even see what repo I'm looking at (the most important thing). (Combine this with the overly narrow scrollbar on my high-DPI hi-res laptop - they're really very narrow - and distracting auto-fading). I'll try Visual Studio instead. I know VS Code is free, so I'm not bashing and I don't expect devs should work for free if there's no time to implement this. If I had time I'd try submit a PR (The problem is compounded by the resize grab-handle also being invisible until you float the mouse over it, something I'd also always prefer to always be visible), so it's easy to hit the resize grab when aiming for the scrollbar.) Sorry for long comment |
Another vote from my side. After increasing the sash ("resize grab-handle") width to something that can actually be used via RDP connection it nearly completely overlaps the scroll bar of the tool windows. Now I'd like to make the scroll bars wider as well, to be able to use them. And this brought me here ^^ (An alternative for my use case would be to make the sash visible at all times instead of fading it in, overlaying what's there. This would solve the scrollbar-accessibility issue as well.) |
There is no scrollbar setting option for Explorer, Sidebar. |
Is there any way to change the width of the vertical scrollbars in Visual Studio Code, especially the one for the left panel?
I find it so thin that it's a bit fiddly to use.
The text was updated successfully, but these errors were encountered: