How to increase Eclipse toolbar icon size


This article will help you how to increase Eclipse toolbar icon size. Sometimes you might be notice Eclipse interface icons very small on high resolution screen as shown below:

How to increate eclipse toolbar icon size

To solve this problem, follow the steps:

Step 1: Close your currently running Eclipse IDE instance.

Step 2: Open the eclipse.ini configuration setting file(you can find eclipse.ini file under your Eclipse installation directory(C:\Program Files\Eclipse\Oxygen)) and add the below lines of code in the file.

eclipse.ini
-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

Step 3: Restart your Eclipse IDE and its done.

Note: In any case, if above configuration doesn’t work, do the below alternate solution.

Step 1: Create a shortcut of eclipse.exe on your desktop.

Eclipse.exe shortcut icone

Step 2: Right click on the shortcut icon and go to the Properties » Compatibility.

Step 3: Click on the Change high DPI settings, tick the Override high DPI scaling behavior then select the System (Enhanced).

Change the eclipse compatibility mode

Step 4: Save the changes and restart the Eclipse IDE, and you will find the bigger toolbar icon size as compared to previously.

Eclipse toolbar icon bigger size

References

  1. Shortcut key for Extract Local Variable in Eclipse/STS
  2. Eclipse/STS – Optimize/Remove unused imports shortcut keys
  3. How to pass VM arguments in Eclipse IDE

Similar Posts

About the Author

Atul Rai
I love sharing my experiments and ideas with everyone by writing articles on the latest technological trends. Read all published posts by Atul Rai.