disable/remove horizontal scroll bar in treeview?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
voirin
Posts: 14
Joined: 28 Sep 2009 01:24

disable/remove horizontal scroll bar in treeview?

Post by voirin »

Hi, is it possible to disable/remove the horizonatal scrollbar in the tree view? I know this option is available in other file explorers. I just can't find the setting anywhere.

Image

XYplorer sometimes moves the treeview if a folder extends beyond the rightmost border. I know the mouse scroll wheel moves the horizontal scrollbar when this happens. But it seems sometimes the horizontal scrollbar moves on its own accord.

Thanks

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: disable/remove horizontal scroll bar in treeview?

Post by Leito »

It would be great to have a tweak to hide the horizontal scrollbar in the tree.

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?

Post by admin »

So just drop any horizontal scrolling in the Tree? Like in the Catalog (with ellipsis dots)? Or not even dots (like in File Explorer it seems). Wow, I never noticed that File Explorer has no horizontal scrollbar -- probably because I never use File Explorer. :)

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: disable/remove horizontal scroll bar in treeview?

Post by Leito »

Yes I was thinking of the same behavior as Windows Explorer. I suppose inserting ellipsis dots can't hurt, but that's not a requirement for me.

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?

Post by admin »

I played with Explorer and find it not very usable. You seem to have no chance to see deeper levels apart from widening the tree pane, right?

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: disable/remove horizontal scroll bar in treeview?

Post by Leito »

Yes that's correct. I agree that it is not usable if you are opening lots of levels.

I use the MiniTree locked thus I control the number of levels opened, and a long name folder can make the horizontal scrollbar appear - which I don't like because I sometimes scroll on the right without wanting it. This is very specific, that's why I asked for a tweak only in the first place. :mrgreen:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: disable/remove horizontal scroll bar in treeview?

Post by bdeshi »

admin wrote:So just drop any horizontal scrolling in the Tree?
Please don't. Care to entertain the idea of autohiding scrollbars for a evening?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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?

Post by admin »

I'm not such a fan of auto-hiding. I'll add a tweak.

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: disable/remove horizontal scroll bar in treeview?

Post by Leito »

Thanks Don, that's all I'm asking for! :mrgreen:

Irwin of Upton
Posts: 131
Joined: 28 Feb 2015 19:42

Re: disable/remove horizontal scroll bar in treeview?

Post by Irwin of Upton »

Done as a Tweak everybody goes home happy! :appl:

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: disable/remove horizontal scroll bar in treeview?

Post by Leito »

For reference, the added tweak is:

Code: Select all

TreeNoHoriScroll

daniel_m
Posts: 208
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: disable/remove horizontal scroll bar in treeview?

Post by daniel_m »

Could this tweak be tweaked by disabling horizontal scrolling (e.g. by the mouse cursor being next to the border) but still showing the scroll bar for manual/deliberate 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?

Post by admin »

Are you talking about auto-scrolling while drag and drop?

daniel_m
Posts: 208
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: disable/remove horizontal scroll bar in treeview?

Post by daniel_m »

Yes. Dragging files/folders from the list to the tree will inevitably scroll the tree to the right. Most of the time, I don't need to see the rightmost part of folder names in the tree. Sometimes, it would be nice to scroll to the right manually, which TreeNoHoriScroll doesn't allow for.
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?

Post by admin »

daniel_m wrote: 09 Jan 2026 14:18 Yes. Dragging files/folders from the list to the tree will inevitably scroll the tree to the right.
Only happens in the extreme right borderland. Just drag over it fast and no scrolling will happen.

Post Reply