Skip to content
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

Add support for horizontal scrolling in Tree using mouse buttons (WHEEL_LEFT/WHEEL_RIGHT) #4816

Closed
mieldepoche opened this issue Jul 5, 2022 · 2 comments · Fixed by godotengine/godot#62744
Milestone

Comments

@mieldepoche
Copy link

Describe the project you are working on

No relevant

Describe the problem or limitation you are having in your project

The editor FileSystem and Scene tabs are usually not wide enough to display their whole content on my display and editor interface scale.
As such I often need to scroll horizontally to read e.g. a full file name which I can't do using the secondary mousewheel of my mouse at the moment.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Make horizontal mousewheel event scroll horizontally in ScrollContainers.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

/

If this enhancement will not be used often, can it be worked around with a few lines of script?

I would use it often

Is there a reason why this should be core and not an add-on in the asset library?

its kinda core already

@AThousandShips
Copy link
Member

It should be, but the Editor Filesystem isn't a scroll container but a Tree, that does not have this as far as I can see

@YuriSizov YuriSizov changed the title Allow horizontal mouse wheel to scroll horizontally in ScrollContainers Add support for horizontal scrolling in Tree using mouse buttons (WHEEL_LEFT/WHEEL_RIGHT) Jul 5, 2022
@YuriSizov YuriSizov moved this to In Discussion in Godot Proposal Metaverse Jul 5, 2022
@YuriSizov
Copy link
Contributor

Indeed, this is Tree, and ScrollContainer already supports WHEEL_LEFT/WHEEL_RIGHT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Implemented
Development

Successfully merging a pull request may close this issue.

4 participants