Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix(ui): set window min width (800x600)
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Nov 11, 2023
1 parent 96e7aff commit 3c0f82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/apps/desktop/src/app-windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ export function createAppWindow(input: {
backgroundColor: nativeTheme.shouldUseDarkColors ? '#151515' : '#f9f9f9',
frame: false,
autoHideMenuBar: true,
// width: 1200,
// height: 800,
...bounds,
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
},
minWidth: 800,
minHeight: 600,
icon: import.meta.env.RELEASE_NIGHTLY
? path.resolve(__dirname, '../assets/icons-nightly/icon.png')
: path.resolve(__dirname, '../assets/icons/icon.png'),
Expand Down

0 comments on commit 3c0f82e

Please sign in to comment.