mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 23:59:45 +08:00
fix(WindowService): update default window dimensions to improve user experience (#7789)
- Changed the default width from 1080 to 960 and height from 670 to 600 for the main window. - Adjusted minimum width and height settings to match the new defaults, enhancing compatibility with various screen sizes.
This commit is contained in:
parent
ee4c4b16ec
commit
a924da10c2
@ -41,8 +41,8 @@ export class WindowService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const mainWindowState = windowStateKeeper({
|
const mainWindowState = windowStateKeeper({
|
||||||
defaultWidth: 1080,
|
defaultWidth: 960,
|
||||||
defaultHeight: 670,
|
defaultHeight: 600,
|
||||||
fullScreen: false,
|
fullScreen: false,
|
||||||
maximize: false
|
maximize: false
|
||||||
})
|
})
|
||||||
@ -52,7 +52,7 @@ export class WindowService {
|
|||||||
y: mainWindowState.y,
|
y: mainWindowState.y,
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
minWidth: 1080,
|
minWidth: 960,
|
||||||
minHeight: 600,
|
minHeight: 600,
|
||||||
show: false,
|
show: false,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user