From b36d89165732364f69591c47e15e9ac0490b5646 Mon Sep 17 00:00:00 2001 From: Joey Yu Date: Wed, 10 Apr 2024 09:57:05 -0400 Subject: [PATCH 1/3] chore: set a min size for window --- src/main/window.ts | 2 ++ .../test_sequencer_panel/components/TestSequencerInfo.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/window.ts b/src/main/window.ts index b55dfb350..ce07ee055 100644 --- a/src/main/window.ts +++ b/src/main/window.ts @@ -46,6 +46,8 @@ export async function createWindow() { preload, sandbox: false, }, + minHeight: 720, + minWidth: 1280, show: false, }); global.mainWindow = mainWindow; diff --git a/src/renderer/routes/test_sequencer_panel/components/TestSequencerInfo.tsx b/src/renderer/routes/test_sequencer_panel/components/TestSequencerInfo.tsx index 3931a9af2..2d19d1d58 100644 --- a/src/renderer/routes/test_sequencer_panel/components/TestSequencerInfo.tsx +++ b/src/renderer/routes/test_sequencer_panel/components/TestSequencerInfo.tsx @@ -72,6 +72,8 @@ const TestSequencerView = () => { + +
); From 07f0fc59ac26ff1f15d9f45f87d7c633c6bcc6c5 Mon Sep 17 00:00:00 2001 From: Guillaume Thibault Date: Mon, 15 Apr 2024 22:19:51 -0400 Subject: [PATCH 2/3] [fix-status-bar] chore: better min ration + no status bar overflow --- src/main/window.ts | 2 +- src/renderer/routes/common/StatusBar.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/window.ts b/src/main/window.ts index ce07ee055..a9ea38a7d 100644 --- a/src/main/window.ts +++ b/src/main/window.ts @@ -46,7 +46,7 @@ export async function createWindow() { preload, sandbox: false, }, - minHeight: 720, + minHeight: 860, minWidth: 1280, show: false, }); diff --git a/src/renderer/routes/common/StatusBar.tsx b/src/renderer/routes/common/StatusBar.tsx index a407a7200..b6da6cb08 100644 --- a/src/renderer/routes/common/StatusBar.tsx +++ b/src/renderer/routes/common/StatusBar.tsx @@ -88,10 +88,9 @@ const StatusBar = (): JSX.Element => { ) : ( <> - - {messages[messages.length - 1]?.slice(0, 145)}... + + {messages[messages.length - 1]?.slice(0, 112)}... -
)}
From b6f4adbdf0608265e0da04c6f392f42b981998ba Mon Sep 17 00:00:00 2001 From: Guillaume Date: Mon, 15 Apr 2024 22:27:57 -0400 Subject: [PATCH 3/3] chore: formatting --- src/renderer/routes/common/StatusBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/routes/common/StatusBar.tsx b/src/renderer/routes/common/StatusBar.tsx index b6da6cb08..64aacd005 100644 --- a/src/renderer/routes/common/StatusBar.tsx +++ b/src/renderer/routes/common/StatusBar.tsx @@ -88,7 +88,7 @@ const StatusBar = (): JSX.Element => { ) : ( <> - + {messages[messages.length - 1]?.slice(0, 112)}...