I am creating a new window without a border in the Electron browser with its height and width set to 0, but at least in the windows, the window is displayed with some width and height.
Also, I did not load the contents inside.
var mainWindow = new BrowserWindow({ width: 0, height: 0, resizable: false, frame: false, center: true, show: true, 'use-content-size': false, 'always-on-top': true });
Is it possible to have a frameless window with 0 height / width?
source share