[gnome-music/wip/gbsneto/flowbox: 4/6] 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/6] albums: allow up to 10 albums per row
- Date: Thu, 11 Aug 2016 01:59:05 +0000 (UTC)
commit 4df68403f6926ee92c340641e586267a27533bca
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 cfd23b7..615f995 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -393,7 +393,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]