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. // Create the browser window.
win = new BrowserWindow({ win = new BrowserWindow({
x: 0, width: primaryScreenSize.width < 950 ? primaryScreenSize.width : 950,
y: 0, height: primaryScreenSize.height < 700 ? primaryScreenSize.height : 700,
width: primaryScreenSize.width, minWidth: 680,
height: primaryScreenSize.height, minHeight: 500,
title: app.getName(),
darkTheme: true,
vibrancy: 'ultra-dark',
}); });
// and load the index.html of the app. // and load the index.html of the app.