mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
add smooth transformation to loader thumbnail widget
This commit is contained in:
parent
3c1b04a110
commit
5b60f07f13
1 changed files with 4 additions and 1 deletions
|
|
@ -786,7 +786,10 @@ class ThumbnailWidget(QtWidgets.QLabel):
|
|||
|
||||
def scale_pixmap(self, pixmap):
|
||||
return pixmap.scaled(
|
||||
self.width(), self.height(), QtCore.Qt.KeepAspectRatio
|
||||
self.width(),
|
||||
self.height(),
|
||||
QtCore.Qt.KeepAspectRatio,
|
||||
QtCore.Qt.SmoothTransformation
|
||||
)
|
||||
|
||||
def set_thumbnail(self, entity=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue