[gnome-music/wip/mschraal/core-thumb-property: 9/16] artstack: Add default size setter
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core-thumb-property: 9/16] artstack: Add default size setter
- Date: Sun, 14 Jun 2020 23:55:13 +0000 (UTC)
commit 91c7e36880caaf050aea4e0126188e3685757b1c
Author: Marinus Schraal <mschraal gnome org>
Date: Tue Apr 28 16:11:30 2020 +0200
artstack: Add default size setter
gnomemusic/widgets/artstack.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/widgets/artstack.py b/gnomemusic/widgets/artstack.py
index 2fde30ba..b15a3911 100644
--- a/gnomemusic/widgets/artstack.py
+++ b/gnomemusic/widgets/artstack.py
@@ -79,6 +79,7 @@ class ArtStack(Gtk.Stack):
:param Art.Size value: The size to use for the cover
"""
+ self._cover_a.set_size_request(value.width, value.height)
self._size = value
@GObject.Property(type=object, default=None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]