window sizes

This commit is contained in:
Kyle Spearrin 2018-01-17 16:06:57 -05:00
parent a4abddfb6a
commit 17c61acf65
1 changed files with 7 additions and 4 deletions

View File

@ -16,10 +16,13 @@ function createWindow() {
// Create the browser window.
win = new BrowserWindow({
x: 0,
y: 0,
width: primaryScreenSize.width,
height: primaryScreenSize.height,
width: primaryScreenSize.width < 950 ? primaryScreenSize.width : 950,
height: primaryScreenSize.height < 700 ? primaryScreenSize.height : 700,
minWidth: 680,
minHeight: 500,
title: app.getName(),
darkTheme: true,
vibrancy: 'ultra-dark',
});
// and load the index.html of the app.