disable/remove horizontal scroll bar in treeview?
Re: disable/remove horizontal scroll bar in treeview?
Dragging very fast works, theoretically. But I have to move my mouse extremely fast and then stop it immediately, which is very awkward to do. I am not fast enough all the time when I try, and I would simply forget to do it too often to actually work. If it is too much work to implement, it's okay not to. I can imagine that it is very niche. And TreeNoHoriScroll already works better for me than with automatic scrolling.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%
-
admin
- Site Admin
- Posts: 65351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: disable/remove horizontal scroll bar in treeview?
Okay, thinking about it again (and hoping that some of the local experts are reading this): When you drag something to the tree, you usually don't aim for a target folder that's not currently visible and has to be auto-scrolled into view, right? So, is horizontal and vertical auto-scrolling needed at all?
FAQ | XY News RSS | XY X
Re: disable/remove horizontal scroll bar in treeview?
I, as a local amateur, deem vertical scrolling as very important, and it is not easily triggered involuntarily.
My tree is ~95 characters wide. This is enough to display my "primary" folders and subfolders. Usually, only the very last folder in the hierarchy can have a very long name, but is still identifiable without scrolling.
Would it make sense (and is it possible and easy to implement) to disable horizontal scrolling for e.g. 0.5 s when the cursor is at the border (from both directions!)? That way, the tree wouldn't scroll to the right unintentionally when users drag items from the list to the tree (or vice versa). But scrolling would still work as expected when induced intentionally.
My tree is ~95 characters wide. This is enough to display my "primary" folders and subfolders. Usually, only the very last folder in the hierarchy can have a very long name, but is still identifiable without scrolling.
Would it make sense (and is it possible and easy to implement) to disable horizontal scrolling for e.g. 0.5 s when the cursor is at the border (from both directions!)? That way, the tree wouldn't scroll to the right unintentionally when users drag items from the list to the tree (or vice versa). But scrolling would still work as expected when induced intentionally.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%
-
admin
- Site Admin
- Posts: 65351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: disable/remove horizontal scroll bar in treeview?
Okay, I get it. I will extend the tweak to allow suppressing horizontal auto-scrolling on drag-over.
PS: I find this setting so relaxing that I'm considering making it the default.
PS: I find this setting so relaxing that I'm considering making it the default.
FAQ | XY News RSS | XY X
Re: disable/remove horizontal scroll bar in treeview?
TreeNoHoriScroll=2 works like a charm. Thank you so much for listening and implementing a fix!
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%
Re: disable/remove horizontal scroll bar in treeview?
I like it, thanks.
A somewhat related question:
When trying to grab the border between the tree pane and the list pane to resize it with the mouse, how can I make the border wider, thus easier to grab?
Same goes for the list/catalog pane?? I've struck out searching for it, if it exists.. Thanks!
A somewhat related question:
When trying to grab the border between the tree pane and the list pane to resize it with the mouse, how can I make the border wider, thus easier to grab?
Same goes for the list/catalog pane?? I've struck out searching for it, if it exists.. Thanks!
-
admin
- Site Admin
- Posts: 65351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: disable/remove horizontal scroll bar in treeview?
Right-click the border and you'll see...
FAQ | XY News RSS | XY X
Re: disable/remove horizontal scroll bar in treeview?
I should have known, Don, you would have a really cool way to adjust those... 
XYplorer Beta Club