diff --git a/src/coverpanel.py b/src/coverpanel.py index d9c5d31..312d4da 100644 --- a/src/coverpanel.py +++ b/src/coverpanel.py @@ -251,4 +251,5 @@ class CoverPanel(Gtk.Overlay): return self.cover_image.set_from_pixbuf( pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.HYPER)) + self.cover_image.set_pixel_size(min(width, height)) self.cover_image.show() diff --git a/src/librarypanel.py b/src/librarypanel.py index e2ae1fb..fd56f9f 100644 --- a/src/librarypanel.py +++ b/src/librarypanel.py @@ -456,6 +456,7 @@ class LibraryPanel(Adw.Bin): # Pixelpuffer auf Oberfläche zeichnen self.standalone_image.set_from_pixbuf( pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.HYPER)) + self.standalone_image.set_pixel_size(min(width, height)) self.standalone_image.show() def _get_default_image(self): diff --git a/src/playlistpanel.py b/src/playlistpanel.py index 34abfee..a9b1d8a 100644 --- a/src/playlistpanel.py +++ b/src/playlistpanel.py @@ -263,6 +263,7 @@ class PlaylistPanel(Adw.Bin): # Pixelpuffer auf Oberfläche zeichnen self.standalone_image.set_from_pixbuf( pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.HYPER)) + self.standalone_image.set_pixel_size(min(width, height)) self.standalone_image.show() def _get_default_image(self):