mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
Adjust minimum window size for better layout
This commit is contained in:
parent
3516b609f6
commit
821f41d69a
1 changed files with 2 additions and 2 deletions
|
|
@ -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'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue