From a747254ece9da9af1517dd7dfdb4d16949b0eabb Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Wed, 22 Mar 2023 04:22:29 +0100 Subject: Implemented detail scanner with multithreading --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.py') diff --git a/gui.py b/gui.py index 8ab062d..78f3926 100644 --- a/gui.py +++ b/gui.py @@ -102,7 +102,7 @@ class GuiImage(object): self.__image = ImageTk.PhotoImage(image=self.__image_pil) Label(self.__master, text="Index: {}".format(index)).grid(row=0, column=0, columnspan=4) Label(self.__master, text="File: {}".format(file)).grid(row=1, column=0, columnspan=4) - self.__label = Label(self.__master, width=800, height=800, image=self.__image) + self.__label = Label(self.__master, width=img.shape[1], height=img.shape[0], image=self.__image) self.__label.grid(row=2, column=0, columnspan=4) Entry(self.__master, textvariable=self.__tags).grid(row=3, column=0, columnspan=4, sticky="we") Button(self.__master, text="↺", command=self.__handle_rotate_90_counterclockwise).grid(row=4, column=0) -- cgit v1.2.1