1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

reduce the main BrowserWindow minimum size

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2020-09-17 14:20:02 -04:00
parent 0fedba5b66
commit d24f3dcf12

View File

@ -23,8 +23,8 @@ export class WindowManager {
this.mainView = new BrowserWindow({ this.mainView = new BrowserWindow({
x, y, width, height, x, y, width, height,
show: false, show: false,
minWidth: 900, minWidth: 700, // accommodate 800 x 600 display minimum
minHeight: 760, minHeight: 500, // accommodate 800 x 600 display minimum
titleBarStyle: "hidden", titleBarStyle: "hidden",
backgroundColor: "#1e2124", backgroundColor: "#1e2124",
webPreferences: { webPreferences: {