From 13b3ecc6389b1fa97e08e76c49944fb82dbfc9f4 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:42:35 +0100 Subject: [PATCH] feat(gui): Enforce minimum window size (#216) --- src-tauri/tauri.conf.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 7f6cabe3a..e2c12278b 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,8 +14,12 @@ "windows": [ { "title": "UnstoppableSwap", + "minWidth": 600, + "minHeight": 400, "width": 800, - "height": 600 + "height": 700, + "maxHeight": 900, + "maxWidth": 1200 } ], "security": { @@ -57,4 +61,4 @@ ] } } -} +} \ No newline at end of file