fix: add a minimum height for the main window otherwise it shrinks
This commit is contained in:
parent
6d33ff60f9
commit
44119e6ce3
@ -1,8 +1,10 @@
|
|||||||
const DEFAULT_MIN_WIDTH = 400
|
const DEFAULT_MIN_WIDTH = 400
|
||||||
|
const DEFAULT_MIN_HEIGHT = 300
|
||||||
|
|
||||||
export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
|
export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
|
||||||
skipTaskbar: false,
|
skipTaskbar: false,
|
||||||
minWidth: DEFAULT_MIN_WIDTH,
|
minWidth: DEFAULT_MIN_WIDTH,
|
||||||
|
minHeight: DEFAULT_MIN_HEIGHT,
|
||||||
show: true,
|
show: true,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
frame: false,
|
frame: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user