From 96b4faa3b8c866b261e850d56c8c2b8c3dcb61ae Mon Sep 17 00:00:00 2001 From: Pozitronik Date: Sun, 25 Feb 2024 13:10:23 +0400 Subject: [PATCH] Limit min window height to 130 px --- sinner/gui/GUIForm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinner/gui/GUIForm.py b/sinner/gui/GUIForm.py index 81a0bb4a..5e2dfac2 100644 --- a/sinner/gui/GUIForm.py +++ b/sinner/gui/GUIForm.py @@ -111,7 +111,7 @@ def __init__(self, parameters: Namespace): self.GUIWindow.iconbitmap(default=get_app_dir("sinner/gui/icons/sinner.ico")) # the taskbar icon may not be changed due tkinter limitations # self.GUIWindow.iconphoto(True, PhotoImage(file=get_app_dir("sinner/gui/icons/sinner_64.png"))) # the taskbar icon may not be changed due tkinter limitations self.GUIWindow.title('sinner controls') - self.GUIWindow.minsize(500, 0) + self.GUIWindow.minsize(500, 130) self.GUIWindow.protocol('WM_DELETE_WINDOW', lambda: on_player_window_close()) def on_player_window_close() -> None: