UPD: Sizing to fit fixed window

This commit is contained in:
Robert Kossessa
2024-02-02 00:13:22 +01:00
parent 1dd8d68348
commit 734605aec7
6 changed files with 24 additions and 18 deletions

View File

@@ -14,9 +14,10 @@ if (ess) {
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 1024,
height: 768,
width: 1000,
height: 600,
titleBarStyle: 'hidden',
resizable: false,
icon: path.join(__dirname, `/assets/favicon.png`),
webPreferences: {
preload: path.join(__dirname, 'preload.js'),