修改eclipes project explorer 框內字體大小


修改 project explorer 字體大小

網上查閱資料,知道一種方法,親試有效

步驟

1. 確認 eclipse 的使用主題,找到對應css文件

一般情況文件位置在: plugins\org.eclipse.ui.themes_1.2.400.v20190223-1254\css 文件下,plugins 就是eclipse啟動目錄里面的配置文件;本人是windows系統,eclipse使用主題是 dark,所以找到對應的 e4-dark_win.css 文件

2. 使用編輯器打開 css文件,在文件最末尾添加字體css代碼
        /* 修改 #################### project explorer 字體大小 font-size值對應字體大小   #############  */
        #org-eclipse-jdt-ui-PackageExplorer Tree,
        #org-eclipse-ui-navigator-ProjectExplorer Tree,
        #org-eclipse-ui-views-ContentOutline Tree,
        #PerspectiveSwitcher ToolBar {
        font-size: 14px;
        }
3. 重啟eclipse 生效

參考
http://blog.sina.com.cn/s/blog_67e192090102x0a7.html
https://bbs.csdn.net/topics/390817112


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM