Is there a way to change the font in the status bar Sublime Text 3?

痴心易碎 提交于 2019-12-04 23:59:21

问题


I am searching for a method to change the font of status bar of Sublime Text 3.. Is there a way to do it? I tried changing system fonts (I am on Ubuntu 12.04), searching through Google gave me no hints..

Thanks


回答1:


It's only possible to do in the .sublime-theme file:

// Status bar label
{
    "class": "label_control",
    "parents": [{"class": "status_bar"}],
    "color": [140,140,140],
    "font.size": 11,
    "font.face": "Droid Sans Mono"
},



回答2:


If you can't find any .sublime-theme, mentioned in accepted answer:

(To make it explicitly clear:)

  • Override any current theme by creating a Default.sublime-theme file under \Data\Packages\User\:

    [Sublime Text 3 Install dir] \Data\Packages\User\Default.sublime-theme
    
  • In that file, include something like the mentioned settings, but

    must surround with square brackets '[', ']':

  [
      // Status bar label
      {
          "class": "label_control",
          "parents": [{"class": "status_bar"}],
          "color": [130, 130, 130],
          "font.size" : 22
      }
  ]


来源:https://stackoverflow.com/questions/21750270/is-there-a-way-to-change-the-font-in-the-status-bar-sublime-text-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!