From 71bf316076a295d03d4cac2043233a7f0623b98c Mon Sep 17 00:00:00 2001 From: faroukbmiled Date: Sun, 24 Sep 2023 21:01:13 +0100 Subject: [PATCH] Added min_size for main window --- boiiiwd_package/src/main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/boiiiwd_package/src/main.py b/boiiiwd_package/src/main.py index d43c1ab..08bd20c 100644 --- a/boiiiwd_package/src/main.py +++ b/boiiiwd_package/src/main.py @@ -9,7 +9,6 @@ from src.settings_tab import SettingsTab class BOIIIWD(ctk.CTk): def __init__(self): super().__init__() - # self.app_instance = BOIIIWD() # configure window self.title("BOIII Workshop Downloader - Main") @@ -20,9 +19,11 @@ class BOIIIWD(ctk.CTk): with open(geometry_file, "r") as conf: self.geometry(conf.read()) else: - self.geometry(f"{910}x{560}") + self.geometry(f"{920}x{560}") except: - self.geometry(f"{910}x{560}") + self.geometry(f"{920}x{560}") + + self.minsize(920, 560) if os.path.exists(os.path.join(RESOURCES_DIR, "ryuk.ico")): self.wm_iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico"))