窗口minwidth

This commit is contained in:
lyc 2024-08-15 15:15:22 +08:00
parent a17be49850
commit 0d1a96b202
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ function createLoginWindow() {
function createMainWindow() { function createMainWindow() {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 1200, width: 1200,
minWidth: 1200,
height: 700, height: 700,
show: false, show: false,
frame: false, // 无边框 frame: false, // 无边框