Skip to content

Commit b9cd538

Browse files
committed
feat: set min width and height for app
1 parent cd88f5e commit b9cd538

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electron/main/app.ts

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ const createMainWindow = async (): Promise<void> => {
6565
const mainWindow = new BrowserWindow({
6666
width: 1200,
6767
height: 800,
68+
minWidth: 600,
69+
minHeight: 500,
6870
show: false, // hidden until window loads contents to avoid a blank screen
6971
webPreferences: {
7072
preload: path.join(appPreloadPath, 'index.js'),

0 commit comments

Comments
 (0)