From d08c7ab776d86544a2268558e54f43e1e3fc6376 Mon Sep 17 00:00:00 2001 From: Muddyblack Date: Sat, 30 Dec 2023 15:35:52 +0100 Subject: [PATCH] fix image-size after tag added --- MetaDataEditor/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MetaDataEditor/app.py b/MetaDataEditor/app.py index 4afde41..d0a855b 100644 --- a/MetaDataEditor/app.py +++ b/MetaDataEditor/app.py @@ -210,7 +210,7 @@ def display_image(self, image_path): else: pixmap = QPixmap(image_path) pixmap = pixmap.scaled( - self.image_label.width(), self.image_label.height(), Qt.KeepAspectRatio + self.image_label.width(), self.height(), Qt.KeepAspectRatio ) self.image_label.setPixmap(pixmap)