When you minimize an application on taskbar, the button includes an icon and a small text referring to name of the program or document. As the number of minimized application increases the size of the button keeps on decreasing.
To avoid cluttering your taskbar, you can change the size of the buttons to show only the icon.
For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. You can create a String value “MinWidth” in the right panel, if this value does not exist.
Now, right-click and modify the value in pixels as per the below given table:
| Taskbar size in pixel | Actual Value |
| 17 | -270 |
| 18 | -285 |
| 19 | -300 |
| 20 | -315 |
| 21 | -335 |
The recommended value is "-285" which only shows the icons of the minimized applications. Depending on your monitor width, maybe you will need to decrease this value further.
However, if you want to get back to the original state, just delete added value.
The changes take effect after a restart or logoff.