Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config for zoom level on high DPI systems #22

Open
sooriravindra opened this issue Sep 8, 2017 · 1 comment
Open

Config for zoom level on high DPI systems #22

sooriravindra opened this issue Sep 8, 2017 · 1 comment

Comments

@sooriravindra
Copy link

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?

@sooriravindra
Copy link
Author

sooriravindra commented Sep 10, 2017

// 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant