Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Commit c3ba063

Browse files
authored
Merge pull request #120 from Chris-Johnston/set-min-window-size
Set a minimum window size
2 parents c059967 + 738aaec commit c3ba063

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/main-process/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const createWindow = () => {
3030
// Set window toolbar options
3131
generateMenu()
3232

33-
mainWindow = new BrowserWindow({width: 1200, height: 750, titleBarStyle: "hidden", show: false})
33+
mainWindow = new BrowserWindow({width: 1200, height: 750, titleBarStyle: "hidden", show: false, minHeight: 300, minWidth: 300})
3434

3535
mainWindow.loadURL(url.format({
3636
pathname: path.join(__dirname, "../index.html"),

0 commit comments

Comments
 (0)