应该是如果eclipse选择的theme是win7,然后修改css里面对应的e4_default_win7文件 在stackoverflow中查到相关问题 参考以下网站: http://stackoverflow.com/questions/3124629/how-can-i-configure-the-font-size-for-the-tree-item-in-the-package-explorer-in-e http://stackoverflow.com/questions/14529727/i-cannot-change-the-font-size-of-package-explorer-eclipse/15011440#15011440 在文件末尾添加以下几行代码 #org-eclipse-jdt-ui-PackageExplorer Tree, #org-eclipse-ui-navigator-ProjectExplorer Tree, #org-eclipse-ui-views-ContentOutline Tree, #PerspectiveSwitcher ToolBar { font-size: 8px; } 可以奏效。 但我因为已经用了其他的 theme,遇到了另外一个问题。这个 theme 是一个 jar 包,放在 plugin 文件夹下。我解压缩这个 jar 包后不作任何修改再用命令行的 jar cvf xxx.jar XXX 进行压缩,放到 plugin 文件夹下面,已经和之前的 theme 不同。所以我在解压缩 jar 包后的 css 文件里面作出修改,虽然能更改 project explorer 的字体大小,但原来 theme 已经被修改。 正在解决这个问题。
我怎么觉这个可以在
67,547
社区成员
225,874
社区内容
加载中
试试用AI创作助手写篇文章吧