How can I configure the font size for the tree item in the package explorer/outline in Eclipse?
Which item in Font under Preferences I should change?
FYI:
From Eclipse v4.4 (Luna):
It looks like the CSS files are no longer in the old folder:
eclipse/plugins/org.eclipse.platform_4.x.x.vy/css
They are moved to the new folder:
eclipse/plugins/org.eclipse.ui.themes_x.x.x.vxxxxx/css
And you must select a theme to apply it, in the menu
Windows → Preferences → General → Appearance
In 2010, there was no way in Eclipse to change the font used for Package Explorer and other such views. You can only change the font for editor views. This is a policy decision on the part of the Eclipse developers (see, e.g., bugs 49548, 202091). (Grumble.) The font used is the one set by the general look-and-feel for whatever desktop you are using.
On Linux it is possible to override the system font when you invoke Eclipse. An excellent writeup of various possibilities is here, to which I owe this answer. I'll repeat one suggestion from there for posterity. Create a file named, say, gtkrc-eclipse:
style "eclipse" {
font_name = "Sans Condensed 8"
}
class "GtkWidget" style "eclipse"
Then set a certain environment variable when invoking eclipse:
$ GTK2_RC_FILES=gtkrc-eclipse eclipse
This answer applies to Mac OS X user. Tested with Mavericks (10.9.2) but should work in all versions.
As stated before in previous answers, to change the font size in package explorer you need to change system font size. The problem here is to do exactly this. My solution:
The results:
Happy coding!
In windows server,
go to control panel-->Display section. If default setting is Smaller like picture,you can change the size for your demand,also you can change only the specific text size by option
Note: It is applied based on system setting ,not only for Eclipse based platform.
Eclipse inherits the font size of the GUI items, from the operating system. For a demo for example you might want to increase the font size of your OS.