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

Change Font Size Through Mouse Scrolling #2298

Closed
JasonBock opened this issue Feb 9, 2021 · 1 comment
Closed

Change Font Size Through Mouse Scrolling #2298

JasonBock opened this issue Feb 9, 2021 · 1 comment
Labels
Enhancement Areas for improvement

Comments

@JasonBock
Copy link

Is your feature request related to a problem? Please describe.
Not a problem per-se.

Describe the solution you'd like
In tools like Visual Studio and Notepad++, you can hold down the Control key and scroll with the mouse wheel, which will change the font size in the text editor. It would be nice if ILSpy would have that option in its code viewer as well. I know you can change the font via View -> Options -> Display, but having that scrolling option is a bit quicker.

Also, if this feature is added, it would also be nice to have a percentage somewhere in the code viewer that tells you what size the font is currently at. Visual Studio has this, but Notepad++ doesn't, and I like being able to see how I can get back to 100%. It's also editable in Visual Studio which is a nice-to-have.

Additional context
Just showing what Visual Studio has for this in terms of the font size as a percentage:
image

@JasonBock JasonBock added the Enhancement Areas for improvement label Feb 9, 2021
@Matt-Rouse
Copy link
Contributor

I've started looking at this the text scaling part works but requires some tidying and also I need to add the percentage box.

Code changes here: https://github.com/steamos/ILSpy/tree/text_scaling

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement Areas for improvement
Projects
None yet
Development

No branches or pull requests

2 participants