Improve window sizing.
This commit is contained in:
parent
ff28d089ba
commit
d7dfc5309d
2
index.js
2
index.js
@ -4,7 +4,7 @@ import { app, BrowserWindow } from 'electron';
|
|||||||
const createWindow = () => {
|
const createWindow = () => {
|
||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
width: 290,
|
width: 290,
|
||||||
height: 465,
|
height: 470,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user