weixin_39611820
weixin_39611820
2021-01-04 15:22

Incorrect SideBar font under Windows 7

Hi, First, the theme looks great.

It seems like the font for the SideBar is taken from someplace other than the "font_face" setting of Sublime.

afteglow-bad-sidebar-font

Thanks!

该提问来源于开源项目:YabataDesign/afterglow-theme

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39614228 weixin_39614228 4月前

    First, thank you very much for your comments.

    I have not changed the font (font_face) on the theme, but I modified the size (font_size). I understand that that's the difference you find between default theme and theme Afterglow.

    To return to the original size of the sidebar, you have to open Packages -> Theme Afterglow and edit Afterglow.sublime-theme file (or blue, magenta,... variant of your choice). Comment the line 501 "font.size": 13 in the following code:

    
    // Sidebar entry
    {
        "class": "sidebar_label",
        // "font.size": 13,
        "color": [116, 116, 116] // 03
    },
    

    In this way the sidebar returns to the default settings.

    It is not a very stable solution (you will lose your changes if you upgrade this Package to a newer version in the future), but don't know another way to change the font size of the sidebar from the user preferences.

    点赞 评论 复制链接分享
  • weixin_39614228 weixin_39614228 4月前

    Work fine this solution for you, yosi-dediashvili?

    点赞 评论 复制链接分享
  • weixin_39611820 weixin_39611820 4月前

    Works great. Thanks!

    点赞 评论 复制链接分享
  • weixin_39611820 weixin_39611820 4月前

    BTW, is there a way for you to expose the font size for the sidebar via the configuration?

    点赞 评论 复制链接分享
  • weixin_39614228 weixin_39614228 4月前

    Hi, yosi-dediashvili.

    I uploaded a new version (1.1.2) with some modifications and now you can change the font size of the sidebar from the user preferences file.

    Here I explain: https://github.com/YabataDesign/afterglow-theme#sidebar-size-options

    First you must upgrade the package to the latest version (1.1.2): Package Control: Upgrade Package and select Theme - Afterglow

    点赞 评论 复制链接分享
  • weixin_39611820 weixin_39611820 4月前

    Thanks!

    点赞 评论 复制链接分享

相关推荐