mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
window sizes
This commit is contained in:
parent
a4abddfb6a
commit
17c61acf65
11
src/main.ts
11
src/main.ts
@ -16,10 +16,13 @@ function createWindow() {
|
|||||||
|
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
win = new BrowserWindow({
|
win = new BrowserWindow({
|
||||||
x: 0,
|
width: primaryScreenSize.width < 950 ? primaryScreenSize.width : 950,
|
||||||
y: 0,
|
height: primaryScreenSize.height < 700 ? primaryScreenSize.height : 700,
|
||||||
width: primaryScreenSize.width,
|
minWidth: 680,
|
||||||
height: primaryScreenSize.height,
|
minHeight: 500,
|
||||||
|
title: app.getName(),
|
||||||
|
darkTheme: true,
|
||||||
|
vibrancy: 'ultra-dark',
|
||||||
});
|
});
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
|
Loading…
Reference in New Issue
Block a user