Hi,
I created an electron app, when i try to project that in projector screen, app is not fitting into the screen but it is working fine in my laptop and desktop.Can some one help me how to set screen size that will fit into projector screen.
This is how i set screen size
main.js
app.on(‘ready’, function() {
const electron = require(‘electron’);
const {app, BrowserWindow} = electron;
const {width, height} = electron.screen.getPrimaryDisplay().workAreaSize;
win = new BrowserWindow({icon: ‘file://’ + __dirname + ‘resources/images/umt.png’,width: width, height: height,movable:true, frame: false, webPreferences: {webSecurity: true} });
}
Thanks