Skip to content

Commit

Permalink
feat: add window minimum height and width
Browse files Browse the repository at this point in the history
  • Loading branch information
notmedia committed Aug 19, 2022
1 parent a65a626 commit 9f79f22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const createWindow = (): void => {
const mainWindow = new BrowserWindow({
height: 600,
width: 1000,
minHeight: 500,
minWidth: 500,
center: true,
webPreferences: {
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
Expand Down

0 comments on commit 9f79f22

Please sign in to comment.