#How can I make the Electron window full screen while leaving the task manager in front?

3 messages · Page 1 of 1 (latest)

mortal burrow
#

Here is how I manage my window except that the edges are not filled:

const { width, height } = primaryDisplay.workAreaSize;

  mainWindow = new BrowserWindow({
    width: width,
    height: height,
    frame: false,
    webPreferences: {
      nodeIntegration: true,
      contextIsolation: false,
      webviewTag: true 
    },
    icon: 'src/assets/logo.png',
  });
oblique cedar
#

fullscreen property

#

in browserwindow options