[gnome-music] view: Align Albums view closely together vertically
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] view: Align Albums view closely together vertically
- Date: Mon, 12 Sep 2016 00:21:49 +0000 (UTC)
commit 746960721796703860d3ac26923a90e36f6984c3
Author: Marinus Schraal <mschraal src gnome org>
Date: Mon Sep 12 02:13:37 2016 +0200
view: Align Albums view closely together vertically
If there are too few items to fill the Albums widget, align the items
from the start. This is so they don't spread themselves vertically over
the available space.
gnomemusic/view.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index d824480..e8fa09d 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -394,6 +394,7 @@ class Albums(ViewContainer):
self.view = Gtk.FlowBox(homogeneous=True,
hexpand=True,
halign=Gtk.Align.FILL,
+ valign=Gtk.Align.START,
selection_mode=Gtk.SelectionMode.NONE,
margin=18,
row_spacing=12,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]