【问题标题】:Chrome theme new tab background does not fill correctlyChrome 主题新标签页背景填充不正确
【发布时间】:2020-12-16 20:26:33
【问题描述】:

我想修改Black red shards theme 以供我个人使用,但从这张图片中可以看出,背景并没有填满整个高度。这可以在 macOS 上重现,并将窗口拉伸到全高(忽略停靠栏),或者在这种情况下,全屏。背景是 1920x1080,我的显示器是 1920x1200,我怀疑这是坏的原因。将我的显示器缩放到 1920x1080 会使我的屏幕变得很丑,那么我有哪些选择?

manifest.json 文件的相关部分在这里:

   "name": "Black red shards",
   "theme": {
      "colors": {
         "bookmark_text": [ 255, 0, 0 ],
         "button_background": [ 255, 0, 0, 1 ],
         "frame": [ 66, 116, 201 ],
         "ntp_background": [ 0, 2, 2 ],
         "ntp_text": [ 255, 0, 0 ],
         "tab_background_text": [ 255, 0, 0 ],
         "tab_text": [ 255, 0, 0 ],
         "toolbar": [ 0, 0, 0 ],
     "omnibox_text": [ 255, 0, 0 ]
      },
      "images": {
         "theme_frame": "images/theme_frame.jpeg",
         "theme_ntp_background": "images/theme_ntp_background.jpeg",
         "theme_tab_background": "images/theme_tab_background.png",
         "theme_toolbar": "images/theme_toolbar.jpeg"
      },
      "properties": {
         "ntp_background_alignment": "bottom",
         "ntp_background_repeat": "no-repeat"
      },
      "tints": {
         "buttons": [ 0, 1, 0.5 ]
      }
   },

【问题讨论】:

    标签: google-chrome google-chrome-extension google-chrome-theme


    【解决方案1】:

    你猜对了。您的选择是放大图像的分辨率,使其与您的显示器分辨率相匹配。 https://ibb.co/8XxsDH9 是一张 1920x1200 的图片,放大后的原图。

    【讨论】:

    • 我相信谷歌已经修复了这个错误。现在已经恢复正常了。无论如何,谢谢,我会通过回答问题并将其标记为正确答案来将此问题标记为已解决
    【解决方案2】:

    看起来谷歌已经修复了这个错误,现在恢复正常了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-18
      • 1970-01-01
      • 2015-02-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多