[longomatch] Improve layout of the videofileinfo list.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Improve layout of the videofileinfo list.
- Date: Wed, 18 Mar 2015 14:38:00 +0000 (UTC)
commit 43bf3d64f20e9fa5ed3fb94ad18695ec6db5aa96
Author: Julien Moutte <julien fluendo com>
Date: Tue Mar 10 12:28:59 2015 +0100
Improve layout of the videofileinfo list.
.../LongoMatch.Gui.Panel.ProjectsManagerPanel.cs | 23 +++++-------
LongoMatch.GUI/gtk-gui/gui.stetic | 37 +++++++++----------
2 files changed, 27 insertions(+), 33 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
index 3588a9e..50e041d 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
@@ -58,9 +58,9 @@ namespace LongoMatch.Gui.Panel
private global::Gtk.Label videoslabel;
- private global::Gtk.VBox videofileinfo_vbox;
+ private global::Gtk.Alignment videofileinfo_alignment;
- private global::LongoMatch.Gui.Component.VideoFileInfo videofileinfo1;
+ private global::Gtk.VBox videofileinfo_vbox;
private global::Gtk.HButtonBox hbuttonbox1;
@@ -314,21 +314,16 @@ namespace LongoMatch.Gui.Panel
w20.Expand = false;
w20.Fill = false;
// Container child projectbox.Gtk.Box+BoxChild
+ this.videofileinfo_alignment = new global::Gtk.Alignment (0F, 0F, 1F, 0F);
+ this.videofileinfo_alignment.Name = "videofileinfo_alignment";
+ // Container child videofileinfo_alignment.Gtk.Container+ContainerChild
this.videofileinfo_vbox = new global::Gtk.VBox ();
this.videofileinfo_vbox.Name = "videofileinfo_vbox";
- // Container child videofileinfo_vbox.Gtk.Box+BoxChild
- this.videofileinfo1 = new global::LongoMatch.Gui.Component.VideoFileInfo ();
- this.videofileinfo1.HeightRequest = 100;
- this.videofileinfo1.Events = ((global::Gdk.EventMask)(256));
- this.videofileinfo1.Name = "videofileinfo1";
- this.videofileinfo_vbox.Add (this.videofileinfo1);
- global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.videofileinfo_vbox
[this.videofileinfo1]));
- w21.Position = 0;
- w21.Expand = false;
- w21.Fill = false;
- this.projectbox.Add (this.videofileinfo_vbox);
- global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.videofileinfo_vbox]));
+ this.videofileinfo_alignment.Add (this.videofileinfo_vbox);
+ this.projectbox.Add (this.videofileinfo_alignment);
+ global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.projectbox
[this.videofileinfo_alignment]));
w22.Position = 4;
+ w22.Padding = ((uint)(20));
w3.Add (this.projectbox);
this.scrolledwindow3.Add (w3);
this.rbox.Add (this.scrolledwindow3);
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index c4b809d..e8eaf97 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -8732,34 +8732,33 @@ You can continue with the current capture, cancel it or save your project.
</packing>
</child>
<child>
- <widget class="Gtk.VBox" id="videofileinfo_vbox">
+ <widget class="Gtk.Alignment" id="videofileinfo_alignment">
<property name="MemberName" />
+ <property name="Yscale">0</property>
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
<child>
- <widget class="LongoMatch.Gui.Component.VideoFileInfo"
id="videofileinfo1">
+ <widget class="Gtk.VBox" id="videofileinfo_vbox">
<property name="MemberName" />
- <property name="HeightRequest">100</property>
- <property name="Events">ButtonPressMask</property>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
+ <child>
+ <placeholder />
+ </child>
</widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
- </child>
- <child>
- <placeholder />
</child>
</widget>
<packing>
<property name="Position">4</property>
<property name="AutoSize">True</property>
+ <property name="Padding">20</property>
</packing>
</child>
</widget>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]