mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge pull request #17 from peres07/fix/add-min-width-and-min-height-to-app-window
fix: add a minWidth and minHeight in app window
This commit is contained in:
commit
03ee6b88e1
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ export class WindowManager {
|
||||||
this.mainWindow = new BrowserWindow({
|
this.mainWindow = new BrowserWindow({
|
||||||
width: 1200,
|
width: 1200,
|
||||||
height: 720,
|
height: 720,
|
||||||
|
minWidth: 1024,
|
||||||
|
minHeight: 540,
|
||||||
titleBarStyle: "hidden",
|
titleBarStyle: "hidden",
|
||||||
icon: path.join(__dirname, "..", "..", "images", "icon.png"),
|
icon: path.join(__dirname, "..", "..", "images", "icon.png"),
|
||||||
trafficLightPosition: { x: 16, y: 16 },
|
trafficLightPosition: { x: 16, y: 16 },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue