How to override font of project tree, structure view and any other tabbed content pane?
Answered

Is this a bug or something: I can't change the fonts in the tabbed panes, like the project tree for instance.
I doesn't follow:
- the generic overriden font (in the screenshot a tiny font I choose)
- the editor font (which is set at 'Hack' 13pts big in the screenshot)
So how do I change that?
Please sign in to leave a comment.
Try adding -Dide.intellij.laf.win10.ui=false in Help | Edit Custom VM Options.
I tried it, restarted the IDE, but it didn't help.
I figured out something very helpfull though. I had the theme set to gtk+. When I set it to 'intellij', it works just fine (also without the extra win10 option).
Maybe this is a tiny bug then. Look, I changed my gnome settings into 'comic sans' font. Clearly when theme is set to gtk+, the 'override' font is not working for the contents of the project tree, which is clearly 'comic sans' now. However, the texts 'Local changes', 'Version control' do take the settings 'override' font into account. Disabling 'override fonts', makes those also into 'comic sans', gtk+ default. So the conclusion is kind of that the override font does not work in the content of the panels when gtk+ theme is selected.
koen@dell-koen ~ $ cat ~/.gtkrc-2.0
# File created by KDE Gtk Config
# Configs for GTK2 programs
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Comic Sans MS Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Comic Sans MS Regular 10"
gtk-theme-name="Adwaita"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="Adwaita"
gtk-cursor-theme-name="Adwaita"
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=0
https://youtrack.jetbrains.com/v2/issue/IDEA-88131 looks related.
Indeed, It's exactly the same.