切换至eclipse目录:
vi plugins/org.eclipse.platform_4.2.*/css/e4_default_gtk.css
找到.MPartStack,替换成如下代码:
.MPartStack {
font-size:;
font-family: Liberation Sans;
swt-tab-renderer: null;
swt-tab-height: 22px;
swt-selected-tabs-background: #FFFFFF #ECE9D8 100%;
swt-simple: false;
swt-mru-visible: false;
}
以上针对于Linux,其他平台修改文件:
Windows 7: e4_default_mru_on_win7.css
Windows XP: e4_default_winxp_olv.css | e4_default_winxp_blu.css | e4_classic_winxp.css
Mac OS: e4_default_mac.css
参考来源:http://*.com/questions/11805784/very-large-tabs-in-eclipse-panes-on-ubuntu