[gnome-music/glade] More small adjustments
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/glade] More small adjustments
- Date: Sat, 20 Apr 2013 18:17:24 +0000 (UTC)
commit 0934323bb617cba290bde459aa01ca0d8fbcdb29
Author: Seif Lotfy <seif lotfy com>
Date: Sat Apr 20 20:16:29 2013 +0200
More small adjustments
data/AlbumWidget.ui | 36 ++++++++++--------------------------
src/widgets.js | 4 ++--
2 files changed, 12 insertions(+), 28 deletions(-)
---
diff --git a/data/AlbumWidget.ui b/data/AlbumWidget.ui
index 9bdd133..f8c4b75 100644
--- a/data/AlbumWidget.ui
+++ b/data/AlbumWidget.ui
@@ -17,6 +17,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
+ <property name="valign">start</property>
<property name="margin_top">64</property>
<child>
<placeholder/>
@@ -25,13 +26,14 @@
<object class="GtkImage" id="cover">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="halign">end</property>
+ <property name="halign">center</property>
+ <property name="valign">start</property>
<property name="xpad">1</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -39,6 +41,7 @@
<object class="GtkVBox" id="artistBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="valign">start</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="title_label">
@@ -68,7 +71,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
<property name="padding">24</property>
<property name="position">2</property>
</packing>
@@ -200,29 +203,10 @@
<object class="GtkViewport" id="view">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="margin_top">64</property>
<child>
- <object class="GtkVBox" id="box2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="homogeneous">True</property>
- <child>
- <object class="GtkHBox" id="box3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="margin_top">64</property>
- <property name="homogeneous">True</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
+ <placeholder/>
</child>
</object>
</child>
diff --git a/src/widgets.js b/src/widgets.js
index 1b3382d..84e2270 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -71,10 +71,10 @@ const AlbumWidget = new Lang.Class({
this.parent();
- let hbox = this.ui.get_object("box3");
+ let view_box = this.ui.get_object("view");
let child_view = this.view.get_children()[0];
this.view.remove(child_view)
- hbox.pack_start(child_view, true, true, 0)
+ view_box.add(child_view)
this.add(this.ui.get_object("AlbumWidget"));
this._addListRenderers();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]