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 mouse wheel zoom #32

Closed
wants to merge 5 commits into from

Conversation

neilenns
Copy link
Contributor

@neilenns neilenns commented May 3, 2024

Fixes #31

Adds an event handler for the zoom-changed event and uses it to adjust the zoom level for the window contents, limited to between 100% and 300%.

This applies to the entire window contents, so it does zoom the non-mini UI as well. I'm not aware of a way to only zoom if the mini content is what's shown.

@pierr3
Copy link
Owner

pierr3 commented May 6, 2024

I'll admit, I am not a huge fan of this. Zooming in to the UI of a desktop application is clunky. Users will not that they accidentally zoomed in or a lot of cases, and will open issues "why is my UI zoomed in". I'd rather we properly support high DPI.

@neilenns
Copy link
Contributor Author

neilenns commented May 6, 2024

I'll admit, I am not a huge fan of this. Zooming in to the UI of a desktop application is clunky. Users will not that they accidentally zoomed in or a lot of cases, and will open issues "why is my UI zoomed in". I'd rather we properly support high DPI.

Fair. Maybe just a setting for increased font size? Or maybe just make the font size bigger in mini mode? The main mode is fine honestly.

@neilenns
Copy link
Contributor Author

neilenns commented May 7, 2024

Will open a different PR with just an increased font size per discussion.

@neilenns neilenns closed this May 7, 2024
@neilenns neilenns deleted the neilenns/zoom branch May 7, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase font size in mini-mode
2 participants