electron:how to set zoomFactor of a window?

2018-11-24 15:03:40 | 浏览:
评论数:0
window = new BrowserWindow({
      width: 1200, height: 900,
      webPreferences: {
        zoomFactor: 2.0
      }
});

来源:https://discuss.atom.io/t/how-to-set-zoomfactor-of-a-window/36373/9

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。