Change Project Explorer tree view font size in Eclipse Oxygen

前端 未结 12 1317
难免孤独
难免孤独 2020-12-24 08:04

I am using Eclipse Version: Oxygen.1a Release (4.7.1a) and I want to enlarge the Project Explorer tree view font size because I have some sight issues and thus I searched ma

12条回答
  •  渐次进展
    2020-12-24 08:40

    Thanks for the help. In my case, I use the Dark [Mac OS X] theme in Eclipse Photon on Windows 7, so the file I had to alter was e4-dark_mac.css in eclipse\plugins\org.eclipse.ui.themes_X.X.X.vXXXXXXXX-XXXX\css. Also the .MPart Tree was not in the file so I had to add it as opposed to editing it. I added right under another .Mpart entry so my file looked like below.

    ...
    
    .MpartStack, .Mpart {
        font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
    }
    
    .Mpart Tree {
        font-size: 12;
    }
    
    ...
    

提交回复
热议问题