Skip to content

Commit 241fd2b

Browse files
author
Alberto Iannaccone
committed
set min widow size
1 parent 7f2b849 commit 241fd2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: arduino-ide-extension/src/electron-main/theia/electron-main-application.ts

+3
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
339339
options.webPreferences = {};
340340
}
341341
options.webPreferences.v8CacheOptions = 'bypassHeatCheck'; // TODO: verify this. VS Code use this V8 option.
342+
options.useContentSize = true;
343+
options.minWidth = 680;
344+
options.minHeight = 565;
342345
return options;
343346
}
344347

0 commit comments

Comments
 (0)