Skip to content

Commit

Permalink
minor adjustments in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Muddyblack committed Dec 30, 2023
1 parent 6bbe586 commit 63fd732
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MetaDataEditor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ def display_image(self, image_path):
movie.start()
else:
pixmap = QPixmap(image_path)
pixmap = pixmap.scaledToWidth(self.image_label.width())
pixmap = pixmap.scaled(
self.image_label.width(), self.image_label.height(), Qt.KeepAspectRatio
)
self.image_label.setPixmap(pixmap)


Expand Down

0 comments on commit 63fd732

Please sign in to comment.