윈도우 기본 사이즈 설정
This commit is contained in:
parent
370fa44579
commit
8cb9b60afe
|
@ -23,13 +23,16 @@ export class AppWindow {
|
|||
// tslint:disable-next-line: variable-name
|
||||
private _rendererReadyTime: number | null = null;
|
||||
|
||||
private minWidth = 1160;
|
||||
private minHeight = 800;
|
||||
private minWidth = 700;
|
||||
private minHeight = 600;
|
||||
|
||||
private defaultWidth = 1160;
|
||||
private defaultHeight = 800;
|
||||
|
||||
public constructor(private appIconPath: string) {
|
||||
const savedWindowState = windowStateKeeper({
|
||||
defaultWidth: this.minWidth,
|
||||
defaultHeight: this.minHeight
|
||||
defaultWidth: this.defaultWidth,
|
||||
defaultHeight: this.defaultHeight
|
||||
});
|
||||
|
||||
const windowOptions: Electron.BrowserWindowConstructorOptions = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user