[gnome-music/wip/gbsneto/flowbox: 4/5] albums: allow up to 10 albums per row
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/flowbox: 4/5] albums: allow up to 10 albums per row
- Date: Tue, 9 Aug 2016 22:32:21 +0000 (UTC)
commit 6e4d1a6797f1f8ff796c472297bf1bd0b31e1604
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Aug 9 13:52:34 2016 -0300
albums: allow up to 10 albums per row
More than that and it'll be cluttered.
https://bugzilla.gnome.org/show_bug.cgi?id=760164
gnomemusic/view.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index d72ee64..e1538ed 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -391,7 +391,9 @@ class Albums(ViewContainer):
selection_mode=Gtk.SelectionMode.NONE,
margin=18,
row_spacing=12,
- column_spacing=6)
+ column_spacing=6,
+ min_children_per_line=1,
+ max_children_per_line=10)
self.view.connect('child-activated', self._on_child_activated)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]