[gnome-music/wip/gbsneto/flowbox: 9/10] albums: allow up to 10 albums per row



commit 801532963ae9dd3460b760fb15f9c02fbb6ff8ba
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 c9120d2..c0a2a6e 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]