Skip to content

Commit

Permalink
fix image-size after tag added
Browse files Browse the repository at this point in the history
  • Loading branch information
Muddyblack committed Dec 30, 2023
1 parent 06f7862 commit d08c7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MetaDataEditor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d08c7ab

Please sign in to comment.