2018년 5월 25일 금요일

이클립스 Part Title Font 변경

If you tried Eclipse Juno, you may see that the tab fonts are “large”. The “Package Explorer” and “Outlet” tab font take a lot of space.
If you take a look in the preferences, in the appearance section, you won’t find anything related to these tabs.
The good news is that Eclipse use CSS for the main style, and you can edit these CSS.
If you take a look in ECLIPSE_HOME/plugins/org.eclipse.platform_4.2.0.v201206081400/css, you will find the different CSS used. On Linux, if you use the GTK style (in the Preferences/Appearances), the e4_default_gtk.css is used.
Edit this file and change the .MPartStack section :

.MPartStack {
font-size: 9;
font-family: "Droid Sans";
swt-simple: false;
swt-mru-visible: false;
}

// Part Title Font의 경우에는 설정창에서는 버그로 인해 변경되지 않으므로 수동으로 바꿔줘야한다.
저 버그의 경우는 이클립스 사이트에서도 이미 알려진 버그라고 한다.

댓글 없음:

댓글 쓰기