How can I configure the font size for the tree item in the package explorer in Eclipse?

前端 未结 23 907
孤城傲影
孤城傲影 2020-11-29 16:33

How can I configure the font size for the tree item in the package explorer/outline in Eclipse?

Which item in Font under Preferences I should change?

23条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 17:06

    Eclipse uses a system user interface font for Project Explorer, so you can change it with an OS-specific method. Note: Eclipse will have to be restarted even if other apps respond immediately to the font change.

    • On Linux (Gnome), I was able to alter Eclipse's font with Gnome Tweak Tool (Applications → Utilities → Tweak Tool). If it's not already installed, try sudo yum install gnome-tweak-tool or sudo apt-get install gnome-tweak-tool. In the Fonts page, change the Interface font.
    • On Windows 7, go to Control Panel → Personalization → Window Color and Appearance → Advanced Appearance Settings → Change the font size for "Message Box". (credit: Nathan Monteleone)
    • On Mac, unpack the Tinker Tool, run it, go to the Fonts tab and adjust the size of Help tags (tested with Eclipse 2018-12).

    Some other parts of Eclipse will also be affected, such as the startup dialog.

提交回复
热议问题