Adjust minimum window size for better layout

This commit is contained in:
Jan-Henrik Bruhn 2025-12-12 11:52:41 +01:00 committed by GitHub
parent 3516b609f6
commit 821f41d69a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,8 +28,8 @@ function createWindow() {
const mainWindow = new BrowserWindow({ const mainWindow = new BrowserWindow({
width: 1600, width: 1600,
height: 1000, height: 1000,
minWidth: 1024, // Prevent layout from breaking into single-column mobile view minWidth: 1280, // Prevent layout from breaking into single-column mobile view
minHeight: 700, minHeight: 720,
autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key) autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key)
webPreferences: { webPreferences: {
preload: join(__dirname, 'preload.js'), preload: join(__dirname, 'preload.js'),