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)