Skip to content

It‘s difficult to change the font size #1542

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

Closed
3 tasks done
r3inbowari opened this issue Oct 6, 2022 · 4 comments · Fixed by #1547
Closed
3 tasks done

It‘s difficult to change the font size #1542

r3inbowari opened this issue Oct 6, 2022 · 4 comments · Fixed by #1547
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@r3inbowari
Copy link
Contributor

r3inbowari commented Oct 6, 2022

Describe the problem

The font size value is always locked at 8 or 72.
Related to #1502.

To reproduce

17822377123122.mp4

Expected behavior

Adjustable size range via keyboard.

Arduino IDE version

2.0.1-snaposhot-fe58e2b

Operating system

Windows

Operating system version

11

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@r3inbowari r3inbowari added the type: imperfection Perceived defect in any part of project label Oct 6, 2022
@AlbyIanna
Copy link
Contributor

Thank you for reporting this @r3inbowari. Unfortunately I cannot reproduce this on MacOS. Later I will give it a try on a Windows machine. In the meantime, it would be very helpful if you could describe what happens when you perform the following actions with the Preferences open:

  • click on the arrows in the Interface scale input field; every time you click, the value should increase or decrease by 20%.
  • with the Automatic flag checked, press CTRL + "+"; you should see all the IDE interface being zoomed in and the Interface scale input field should increase its value by 20%
  • with the Automatic flag unchecked, press CTRL + "+"; you should see the font size in the code section increasing in size and the Editor font size input field should increase its value by 2

Do they work as expected?

@AlbyIanna AlbyIanna self-assigned this Oct 7, 2022
@kittaakos kittaakos added topic: code Related to content of the project itself status: waiting for information More information must be provided before work can proceed labels Oct 7, 2022
@r3inbowari
Copy link
Contributor Author

Thank you for reporting this @r3inbowari. Unfortunately I cannot reproduce this on MacOS. Later I will give it a try on a Windows machine. In the meantime, it would be very helpful if you could describe what happens when you perform the following actions with the Preferences open:

  • click on the arrows in the Interface scale input field; every time you click, the value should increase or decrease by 20%.
  • with the Automatic flag checked, press CTRL + "+"; you should see all the IDE interface being zoomed in and the Interface scale input field should increase its value by 20%
  • with the Automatic flag unchecked, press CTRL + "+"; you should see the font size in the code section increasing in size and the Editor font size input field should increase its value by 2

Do they work as expected?

Yes, They work fine.

Reproduce: For example, the current fontsize is 72 and we can not adjust to 16 only by keyboard.
This problem also exists on linux.

@AlbyIanna
Copy link
Contributor

Reproduce: For example, the current fontsize is 72 and we can not adjust to 16 only by keyboard.

Oh sorry, initially I misinterpreted the issue. That is surely annoying! I've just opened a PR (#1547) with a possible fix to this issue 😉
If you want to give it a try, take a look at this GitHub workflow: when it's finished, you'll be able to download a test build.

Thank you so much for reporting this issue 🤗

@r3inbowari
Copy link
Contributor Author

Thank you! It works great now.😊

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Oct 7, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants