user-interface - 如何增加/减少 Sublime 状态栏的高度?

标签 user-interface themes sublimetext3

我成功修改了 Material Theme 的 sidebar_containertabset_control 除了状态栏。它对我来说有点太大了,我想像 Piatto 一样调整它的高度(如果可能的话,还有按钮的宽度/高度)。

Material 主题:(已修改,状态栏除外) enter image description here

Piatto 深色主题: enter image description here

如何设置状态栏的高度/宽度? (如果可能的话,还有上面的按钮)

最佳答案

您可以尝试将以下代码添加到您的 .sublime-theme 文件中。修改“content_margin”中的值以调整高度。

{
    "class": "status_bar",
    "content_margin": [0, 0, 0, 0]
},
{
    "class": "status_button",
    "content_margin": [0, 0, 0, 0],
    "min_size": [75, 0]
}

或者在用户设置中添加如下内容:

"material_theme_small_statusbar": true

关于user-interface - 如何增加/减少 Sublime 状态栏的高度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43140864/

相关文章:

Javascript - GUI 编程

java - 面板没有边框

jquery - 网站的地铁主题

java - 如何在 Eclipse 中更改主题(整个主题,而不是字体!)

drupal - 通过管理区域选择模板?

sublimetext3 - Sublime Text 3 构建系统在 SilverStripe 中运行/开发/构建

xml - 如何在 Sublime Text 3 的 XML 引号内突出显示 LUA 语法?

c++ - CreateWindowEx 函数失败但 GetLastError() 返回 ERROR_SUCCESS

linux - 直接打开到 Xserver 的套接字

python - 抑制 Sublime Text 3 插件中的默认完成