I Cannot Change the Font Size of Package Explorer in Eclipse

I cannot change the font size of package explorer in Eclipse

Eclipse is using native Windows widgets and their settings can only be changed from Display Properties / Settings / Advanced / General properties tab. There you can change your screen DPI to alter font sizes.

Change Project Explorer tree view font size in Eclipse Oxygen

I assume that it is important for others also, so I am posting this, for below requireds in eclipse ide,

Increase java editor font size

Window Menu -> Preferences -> General > Appearance > Color and Fonts > Java > Java Editor Text Font > Edit & Apply

Increase console output font size

Window Menu -> Preferences -> General > Appearance > Color and Fonts > Debug > Console font > Edit & Apply

Increase xml bean file font size

Window Menu -> Preferences -> General > Appearance > Color and Fonts > Basic > Text Font > Edit & Apply

Increase dialog view font size

Window Menu -> Preferences -> General > Appearance > Color and Fonts > Basic > Dialog Font > Edit & Apply

Increase project explorer tree view font size

Sample Image

If using Windows 7 or higher architecture, then reach to the eclipse home directory,
go inside of eclipse\plugins\org.eclipse.ui.themes_X.X.X.vXXXXXXXX-XXXX\css directory,
find two css files which are "e4_default_gtk.css" and "e4_default_win.css",
open and add below said css script part in tail of above two files, save those and close accordingly,

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

if eclipse is opened, restart, it all worked for me on eclipse oxygen.1a release version,

and hope on other OS type, you have to edit the same e4_default_gtk.css and other e4_default_os-type.css, thanks.

How can I change font size in Eclipse for ALL text editors?

This is what we figured out, and this is also found in this answer and also this answer (I'll quote):

Go to PreferencesGeneralAppearanceColors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like.

Pretty simple!

Here's what the dialog looks like -- click Edit

Eclipse - How do you change the font color of package explorer?

You can't change the package explorer color alone. But you can try different themes which are available in eclipse.

  1. Open eclipse preferences
  2. General -> Appearance -> Theme


Related Topics



Leave a reply



Submit