Netbeans 8.1 Gnome 3 GTK+ UI Font and tabs height

旧街凉风 提交于 2019-12-08 14:40:01

问题


I just installed NetBeans 8.1 at Ubuntu 16.04 running GNOME 3 desktop. I would like to keep using the GTK+ Look & Feel of the IDE if possible but the font on the UI especially in the tab is way too small and overlapping.

I tried adding --fontsize 15 into the argument at /etc/netbeans.conf file but no help.

What can I do to fix this? I don't seems to have this problem on NetBeans 8.0.2 previously.


回答1:


I managed to resolved it by changing the font face and font size of GNOME using the Tweak Tool > Font




回答2:


For me it worked running netbeans with "Metal Look and Feel" (http://wiki.netbeans.org/NBLookAndFeels)

./netbeans --laf Metal

Running GTK 3.22 on Fedora 25.




回答3:


I experienced the same problem and filed a bug in the NetBeans bug database. There is a work around, though: You can use a different look and feel. If you choose metal or Nimbus instead of the system look and feel (gtk3), there is no problem. The Darcula theme is especially noteworthy, as it is really good looking, it is a dark theme, though. You can install it as a plugin from the NetBeans Plugin installer.




回答4:


For me the solution was to set the Look and Feel to Metal in Tools > Options.

See




回答5:


Check which jre you use to run NetBeans. If it's openjdk, try installing oracle jdk. Or, even better, try openjdk with font fix: https://github.com/achaphiv/ppa-fonts/tree/master/openjdk-fontfix

It makes font rendering look almost native on swing apps. I believe IntelliJ now ships their own similarly patched JRE to work around font issues.




回答6:


Try installing Darcula LAF for Netbeans from plugins



来源:https://stackoverflow.com/questions/36846159/netbeans-8-1-gnome-3-gtk-ui-font-and-tabs-height

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!