Increase default window size slightly, and increase size of Settings dialog

This commit is contained in:
Jonatan Heyman 2025-04-14 16:18:23 +02:00
parent 28fb986250
commit bcaa2d3006
2 changed files with 4 additions and 4 deletions

View File

@ -83,8 +83,8 @@ export function quit() {
async function createWindow() { async function createWindow() {
// read any stored window settings from config, or use defaults // read any stored window settings from config, or use defaults
let windowConfig = { let windowConfig = {
width: CONFIG.get("windowConfig.width", 900) as number, width: CONFIG.get("windowConfig.width", 940) as number,
height: CONFIG.get("windowConfig.height", 680) as number, height: CONFIG.get("windowConfig.height", 720) as number,
isMaximized: CONFIG.get("windowConfig.isMaximized", false) as boolean, isMaximized: CONFIG.get("windowConfig.isMaximized", false) as boolean,
isFullScreen: CONFIG.get("windowConfig.isFullScreen", false) as boolean, isFullScreen: CONFIG.get("windowConfig.isFullScreen", false) as boolean,
x: CONFIG.get("windowConfig.x"), x: CONFIG.get("windowConfig.x"),

View File

@ -446,7 +446,7 @@
background: rgba(0, 0, 0, 0.5) background: rgba(0, 0, 0, 0.5)
.dialog .dialog
--dialog-height: 560px --dialog-height: 600px
--bottom-bar-height: 48px --bottom-bar-height: 48px
box-sizing: border-box box-sizing: border-box
z-index: 2 z-index: 2
@ -454,7 +454,7 @@
left: 50% left: 50%
top: 50% top: 50%
transform: translate(-50%, -50%) transform: translate(-50%, -50%)
width: 700px width: 820px
height: var(--dialog-height) height: var(--dialog-height)
max-width: 100% max-width: 100%
max-height: 100% max-height: 100%