Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to set font and colors of Eclipse UI

📅 2014-Nov-03 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ eclipse, fonts, fonts size ⬩ 📚 Archive

The font, font size and colors of most of the UI elements of Eclipse can be changed. Some of them can be set from inside Eclipse, others can be set in the CSS files used by the current Eclipse theme. There are other elements which can be changed only by modifying the settings of the current GTK or GNOME theme.

Inside Eclipse

Based on the current theme that Eclipse is using, many of the settings are in CSS files.

However, you will find that the font and font sizes of Project Explorer, Outline, Problems, Make and many other UI windows which hold tree-like elements cannot be changed from here. To do that you need to modify the CSS file of the theme you are current using. Here is how to do that:

.MPart Tree {
    font-family: Consolas;
    font-size: 8;
}

Outside Eclipse

Related links:

Tried with: Eclipse Luna 4.4.1 and Ubuntu 14.04


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧