aboutsummaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2023-03-22 04:22:29 +0100
committerLeonard Kugis <leonard@kug.is>2023-03-22 04:22:29 +0100
commita747254ece9da9af1517dd7dfdb4d16949b0eabb (patch)
tree9999a22523c2dc9a4473efb200b823943e3ca155 /gui.py
parent7c635fed24bba638f10a73fe39134519ecd675bf (diff)
Implemented detail scanner with multithreading
Diffstat (limited to 'gui.py')
-rw-r--r--gui.py2
1 files changed, 1 insertions, 1 deletions
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)