Windows 8/10上的NetBeans IDE缩放 [英] NetBeans IDE scaling on Windows 8/10
问题描述
我正在尝试在Windows 8.1下在具有高DPI的屏幕上运行NetBeans. Windows本身已将缩放比例启用为400%,其他一切看起来都很好.
I'm trying to run NetBeans under Windows 8.1 on a screen with a high DPI. Windows itself has scaling enabled to 400% and everything else looks just fine.
但是,当我启动NetBeans时,它就像没有启用缩放功能一样运行,我在IDE中只看到很小的字母.我确实检查了IDE启动时的属性,并且确实选中了为此程序启用缩放".
However, when I start NetBeans, it runs as if there's no scaling enabled and I just see tiny little letters in the IDE. I did check the properties under which the IDE starts and they do have "Enable scaling for this program" checked.
我可以在编辑器和错误日志中增加字体大小,这至少使我能够查看在屏幕上键入的内容,但是,所有菜单,侧栏,面板等仍然很小.尝试使用它是非常不舒服的.那么有什么想法可以使NetBeans随Windows 8.1扩展吗?当前正在使用NetBeans 8.0.
I could increase font size in the editor and the error log, which would at least enable me to view what I'm typing on the screen, however, all menus, side-bars, panels, etc, remain very small which is very uncomfortable trying to work with. So any idea how I can make NetBeans scale with Windows 8.1? Currently using NetBeans 8.0.
推荐答案
- 打开C:\ Program Files \ NetBeans 8.0 \ etc \ netbeans.conf
- 将
-J-Dsun.java2d.dpiaware=true
更改为-J-Dsun.java2d.dpiaware=false
- Open C:\Program Files\NetBeans 8.0\etc\netbeans.conf
- Change
-J-Dsun.java2d.dpiaware=true
to-J-Dsun.java2d.dpiaware=false
这篇关于Windows 8/10上的NetBeans IDE缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!