eclipse Configuring Eclipse How to configure the font size of views in Eclipse on Linux


Example

Eclipse does not give you the possibility to change the font size of the views like 'Project Explorer' or 'Servers', which looks ugly on Linux since Eclipse uses the default (desktop) font size. But you can edit specific configuration files to get the proper font sizes.

To fix this annoying font size, go to
/[YOUR_INST_DIR]/eclipse/plugins/org.eclipse.ui.themes_[LATEST_INSTALLATION]/css and add this content...

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

to the bottom of the following files:

e4_classic_winxp.css
e4_classic_win7.css

BEFORE CHANGE

projectexplorer1
server1

AFTER CHANGE

projectexplorer2 servers2