aboutsummaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
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)