如何更改 Eclipse 编辑器选项卡标题的字体大小
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17317674/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to change the font size of the Eclipse editor tab's title
提问by hellojinjie
It is underlined by a green line. I want to change the font size of the tab's title.
它以绿线下划线表示。我想更改选项卡标题的字体大小。
How can I do that?
我怎样才能做到这一点?
采纳答案by alex
Eclipse uses CSS for its own styling, so you can modify the CSS file to your needs as explained here.
Eclipse 将 CSS 用于其自己的样式,因此您可以按照此处的说明修改 CSS 文件以满足您的需要。
The CSS file is located in
CSS 文件位于
ECLIPSE_HOME/plugins/org.eclipse.platform_X.X.X_V.XXXX/css
and the class for the tab titles is named MPartStack.
选项卡标题的类名为MPartStack。
回答by Nikolay
Eclipse Indigo:
日蚀靛蓝:
Window->Preferences->Appearance->Colors and Fonts
窗口->首选项->外观->颜色和字体
In Colors And Fonts window:
在颜色和字体窗口中:
View and Editor Folders->Part title font
查看和编辑器文件夹->零件标题字体
回答by Kzar
Taken from a comment in Very large tabs in Eclipse panes on Ubuntu
取自Ubuntu 上 Eclipse 窗格中非常大的选项卡中的评论
Preferences -> General -> Appearance -> Theme -> Classic
首选项 -> 常规 -> 外观 -> 主题 -> 经典