'resizing the menu fonts in Spyder

When opening the Spyder IDE, I noticed that the menu fonts increased in size without having done anything about it the last session. I have a monitor with 4K resolution (which I think might be a part of the problem). The fonts that increased are marked in yellow in the image below:

enter image description here

After trying to alter the DPI scaling options in Preferences -> Application -> Screen resolution, I still didn't manage to reduce the font size. Are there any solutions to this problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source