Skip to content

Commit ab0ce77

Browse files
authored
set width and height for main window
1 parent 36c080f commit ab0ce77

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

electronClient.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ const fs = require("fs");
1111
let mainWindow, sdnManagerWindow
1212

1313
function startMainWindow(){
14-
mainWindow = new BrowserWindow({ minWidth: 770, minHeight: 500 });
14+
mainWindow = new BrowserWindow({
15+
width: 1280,
16+
height: 760,
17+
minWidth: 800,
18+
minHeight: 600
19+
});
1520

1621
mainWindow.loadURL(url.format({
1722
pathname: path.join(__dirname, "index.html"),

0 commit comments

Comments
 (0)