Commit 46dbcbef authored by Marinus Schraal's avatar Marinus Schraal

player: Set width/height property for cover image

Set the width/height properties so off-sized coverart doesn't trigger a
minor shift in the label position.
parent e46c48cf
......@@ -807,6 +807,9 @@ class Player(GObject.GObject):
self.titleLabel = self._ui.get_object('title')
self.artistLabel = self._ui.get_object('artist')
self.coverImg = self._ui.get_object('cover')
self.coverImg.set_property("width-request", ArtSize.xsmall.width)
self.coverImg.set_property("height-request", ArtSize.xsmall.height)
self.duration = self._ui.get_object('duration')
self.repeatBtnImage = self._ui.get_object('playlistRepeat')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment