sbrshk/whatever

Config for zoom level on high DPI systems

Opened this issue · 1 comments

I could not find a zoom level setting so that high DPI machines could effectively use the app. Is there a plan to add this feature?

// Create the browser window and disable node.js (it is needed to work with pre-compiled js of external url)
mainWindow = new BrowserWindow({width: 1800, 
                                height: 900, 
                                webPreferences: {zoomFactor: 1.5, nodeIntegration: false}, 
                                show: false,
                               }) 

Reading the zoomFactor value from the config file would probably solve this issue.