[gnome-music] Some minor UI polishing
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Some minor UI polishing
- Date: Tue, 7 May 2013 21:27:17 +0000 (UTC)
commit 6547ad31577ecdbd3c2715c2996df13293902c48
Author: Seif Lotfy <seif lotfy com>
Date: Tue May 7 23:25:24 2013 +0200
Some minor UI polishing
data/AlbumWidget.ui | 5 +----
src/widgets.js | 3 ++-
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/data/AlbumWidget.ui b/data/AlbumWidget.ui
index f2bfe29..d5ebb21 100644
--- a/data/AlbumWidget.ui
+++ b/data/AlbumWidget.ui
@@ -208,13 +208,10 @@
<property name="window_placement">top-right</property>
<child>
<object class="GtkViewport" id="view">
- <property name="width_request">400</property>
+ <property name="width_request">350</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="margin_right">32</property>
- <property name="margin_top">64</property>
- <property name="margin_bottom">64</property>
<property name="hexpand">True</property>
<child>
<placeholder/>
diff --git a/src/widgets.js b/src/widgets.js
index 759c3f8..975298a 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -53,7 +53,6 @@ const AlbumWidget = new Lang.Class({
this.player = player;
this.hbox = new Gtk.HBox ();
this.iterToClean = null;
- this.scrolledWindow = new Gtk.ScrolledWindow();
this.ui = new Gtk.Builder();
this.ui.add_from_resource('/org/gnome/music/AlbumWidget.ui');
@@ -82,6 +81,8 @@ const AlbumWidget = new Lang.Class({
let view_box = this.ui.get_object("view");
let child_view = this.view.get_children()[0];
+ child_view.set_margin_top(64);
+ child_view.set_margin_bottom(64);
this.view.remove(child_view)
view_box.add(child_view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]