Eclipse on Linux some fonts are too small (git staging, dialog, outline, problems etc)

我的未来我决定 提交于 2021-01-28 07:12:23

问题


Well, I am using Spring Tools Suite 4.12 (based on Eclipse 4.11) one Deepin OS (which is debian based).

My screen is 3K, (2880x1620). Deepin allows me to scale the screen, so my display is set to native resolution, and in Deepin, I set the scale to 1.5 so after scale it should be similar to 1080p.

It works for most applications, except STS (Eclipse 4.11).

Most views in STS looks good similar to 1080p, but there are still some views with tiny fonts, such as git staging, problem:

Any way to fix that in FONT settings or modifying the theme css file?

thanks!


回答1:


It took me a full day to find a fix.

I have fonts being too small on Windows. Exactly like you, package, outline etc way too small for my eyes.

Install plug in http://eclipse.jeeeyul.net/update/

Then in Preferences -> General -> Appearance -> Jeeeyul -> Custom CSS

Copy paste this, Apply

.MPart  {
    font-family: "Segoe UI";
    font-size: 12;
    color: #000000;
}

.MPart Tree  {
    font-family: "Segoe UI";
    font-size: 12;
    color: #000000;
}

.MPartStack {
    font-family: "Segoe UI";
    font-size: 12;
}

If using EGIT, you will also need to set Appearance -> Colors And Font -> Uncommited Change Font to the same font family and size as above.

Jeeeyul plug-in also has nice little features to customize the tabs.

Create a new preset, save it and restart Eclipse to make sure everything is fine.



来源:https://stackoverflow.com/questions/55968641/eclipse-on-linux-some-fonts-are-too-small-git-staging-dialog-outline-problem

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!