From 2fac03a927a14a3b714402ae827c1c5f8e13d7f3 Mon Sep 17 00:00:00 2001 From: punix Date: Fri, 8 Nov 2024 21:32:45 +0100 Subject: [PATCH] - methods from class MainWindow move to class FrameWidgets for active color_label when theme change - optimize columnconfigure, rowconfigure in class MainWindow and FrameWidgets - add new Frame for Widgets on Bottom - optimize from tkinter * to from tkinter import filedialog, ttk, TclError --- wg_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg_main.py b/wg_main.py index e2cc83d..4bc777e 100755 --- a/wg_main.py +++ b/wg_main.py @@ -22,7 +22,7 @@ class MainWindow(tk.Tk): self.y_height = 383 self.monitor_center_x = self.winfo_screenwidth() / 2 - (self.x_width / 2) self.monitor_center_y = self.winfo_screenheight() / 2 - (self.y_height / 2) - self.resizable(width=True, height=True) + self.resizable(width=False, height=False) self.title('Wire-Py') self.geometry('%dx%d+%d+%d' % (self.x_width, self.y_height, self.monitor_center_x, self.monitor_center_y)) self.columnconfigure(0, weight=1)