Closed ibrahemesam closed 1 year ago
This is how frameless windows are. Resize border is part of the frame.
I know. but, for some reason, it works in Electron
const electron = require("electron");
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow = null;
const createWindow = () => {
mainWindow = new BrowserWindow({
frame: false,
});
mainWindow.loadURL("https://fast.com");
};
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});
app.on("ready", createWindow);
Ok, here is my solution
it may not be the best, but it works !
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ok, here is my solution
it may not be the best, but it works !
what is your opinion ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is how frameless windows are. Resize border is part of the frame.
We want a Resize border useable frameless. or a frame without title bar . We don't want the default title bar .It's too difficult to change the style or add custom widgets into it .