[gnome-music] Fix padding between track number and track title in Artist view Fixes #699619
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix padding between track number and track title in Artist view Fixes #699619
- Date: Tue, 7 May 2013 13:53:52 +0000 (UTC)
commit a584d113dd8e89b3b4679641f4ca7f7b6ccf4f9f
Author: Seif Lotfy <seif lotfy com>
Date: Tue May 7 15:52:52 2013 +0200
Fix padding between track number and track title in Artist view
Fixes #699619
data/ArtistAlbumsWidget.ui | 2 +-
data/TrackWidget.ui | 5 ++++-
src/widgets.js | 5 ++++-
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/data/ArtistAlbumsWidget.ui b/data/ArtistAlbumsWidget.ui
index 277c339..672dbc9 100644
--- a/data/ArtistAlbumsWidget.ui
+++ b/data/ArtistAlbumsWidget.ui
@@ -5,7 +5,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">24</property>
- <property name="margin_top">24</property>
+ <property name="margin_top">18</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="artist">
diff --git a/data/TrackWidget.ui b/data/TrackWidget.ui
index 3a6c81e..9f0741e 100644
--- a/data/TrackWidget.ui
+++ b/data/TrackWidget.ui
@@ -8,6 +8,7 @@
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">3</property>
<child>
<object class="GtkBox" id="box3">
<property name="width_request">48</property>
@@ -38,7 +39,8 @@
<object class="GtkLabel" id="num">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">label</property>
+ <property name="xalign">1</property>
+ <property name="justify">right</property>
</object>
<packing>
<property name="expand">False</property>
@@ -79,6 +81,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
+ <property name="xalign">1</property>
<property name="yalign">0</property>
</object>
<packing>
diff --git a/src/widgets.js b/src/widgets.js
index 8bfc4ec..759c3f8 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -255,9 +255,12 @@ const ArtistAlbums = new Lang.Class({
this.pack_start(this.ui.get_object("ArtistAlbumsWidget"), false, false, 0);
+ var hbox = new Gtk.Box({orientation: Gtk.Orientation.VERTICAL});
+ hbox.set_spacing(48);
+ this.pack_start(hbox, false, false, 16);
for (var i=0; i < albums.length; i++) {
let widget = new ArtistAlbumWidget(artist, albums[i], this.player, this.model)
- this.pack_start(widget, false, false, 32);
+ hbox.pack_start(widget, false, false, 0);
this.widgets.push(widget);
}
this.show_all();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]