[gnome-music] Fix Album songs list sizing fixes #699846
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix Album songs list sizing fixes #699846
- Date: Wed, 8 May 2013 14:33:36 +0000 (UTC)
commit 066b4e5fc3c68f4dfff091fdfad821db27b39b5e
Author: Seif Lotfy <seif lotfy com>
Date: Wed May 8 16:30:46 2013 +0200
Fix Album songs list sizing
fixes #699846
data/AlbumWidget.ui | 2 +-
src/widgets.js | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/AlbumWidget.ui b/data/AlbumWidget.ui
index dc82441..38d2717 100644
--- a/data/AlbumWidget.ui
+++ b/data/AlbumWidget.ui
@@ -11,7 +11,7 @@
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="margin_left">32</property>
- <property name="margin_right">3</property>
+ <property name="margin_right">32</property>
<property name="margin_top">64</property>
<property name="margin_bottom">64</property>
<property name="vexpand">True</property>
diff --git a/src/widgets.js b/src/widgets.js
index ec6a4e6..e408bb0 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -83,6 +83,7 @@ const AlbumWidget = new Lang.Class({
let child_view = this.view.get_children()[0];
child_view.set_margin_top(64);
child_view.set_margin_bottom(64);
+ child_view.set_margin_right(32);
this.view.remove(child_view)
view_box.add(child_view)
@@ -97,7 +98,8 @@ const AlbumWidget = new Lang.Class({
let listWidget = this.view.get_generic_view();
var cols = listWidget.get_columns()
- cols[0].set_max_width(370)
+ cols[0].set_min_width(310)
+ cols[0].set_max_width(470)
var cells = cols[0].get_cells()
cells[2].visible = false
cells[1].visible = false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]