[longomatch] Improve layout for live and fake live controls
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Improve layout for live and fake live controls
- Date: Sun, 30 Nov 2014 18:46:38 +0000 (UTC)
commit a394f52a5e24ccaef850eb864b6af4add8903795
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Nov 30 19:46:02 2014 +0100
Improve layout for live and fake live controls
LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs | 4 ++++
.../gtk-gui/LongoMatch.Gui.CapturerBin.cs | 2 +-
.../gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs | 1 +
LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic | 4 +++-
4 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs b/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
index be4daf2..3088d56 100644
--- a/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/CapturerBin.cs
@@ -103,9 +103,13 @@ namespace LongoMatch.Gui
if (type == CapturerType.Fake) {
SetStyle (StyleConf.PlayerCapturerControlsHeight * 2, 24 * 2, 40 * 2);
playlastbutton.Visible = false;
+ controllerbox.SetChildPacking (vseparator1, false, false, 20,
PackType.Start);
+ controllerbox.SetChildPacking (vseparator2, false, false, 20,
PackType.Start);
} else {
playlastbutton.Visible = true;
SetStyle (StyleConf.PlayerCapturerControlsHeight, 24, 40);
+ controllerbox.SetChildPacking (vseparator1, true, true, 0,
PackType.Start);
+ controllerbox.SetChildPacking (vseparator2, true, true, 0,
PackType.Start);
}
}
}
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.CapturerBin.cs
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.CapturerBin.cs
index a9fcd6f..3ca2e2b 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.CapturerBin.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.CapturerBin.cs
@@ -57,7 +57,7 @@ namespace LongoMatch.Gui
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.videowindow]));
w1.Position = 0;
// Container child vbox1.Gtk.Box+BoxChild
- this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+ this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 1F);
this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild
this.controllerbox = new global::Gtk.HBox ();
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
index e7aa78a..f47c2cf 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
@@ -61,6 +61,7 @@ namespace LongoMatch.Gui
this.playerbin = new global::LongoMatch.Gui.PlayerBin ();
this.playerbin.Events = ((global::Gdk.EventMask)(256));
this.playerbin.Name = "playerbin";
+ this.playerbin.CloseAlwaysVisible = false;
this.playerbox.Add (this.playerbin);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.playerbox
[this.playerbin]));
w4.Position = 1;
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
index 9648967..b957052 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
@@ -467,6 +467,7 @@
<child>
<widget class="Gtk.Alignment" id="alignment1">
<property name="MemberName" />
+ <property name="Xscale">0</property>
<child>
<widget class="Gtk.HBox" id="controllerbox">
<property name="MemberName" />
@@ -793,7 +794,7 @@
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.PlayerCapturerBin" design-size="1402 300">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.PlayerCapturerBin" design-size="1478 300">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
@@ -848,6 +849,7 @@
<widget class="LongoMatch.Gui.PlayerBin" id="playerbin">
<property name="MemberName" />
<property name="Events">ButtonPressMask</property>
+ <property name="CloseAlwaysVisible">False</property>
</widget>
<packing>
<property name="Position">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]