[longomatch] Previous commit contained some other changes. Refactor welcomepanel to use a Table instead of the Fi



commit 980b1b62c2fe3dfeed66212a94efc71f16af67f7
Author: Julien Moutte <julien fluendo com>
Date:   Tue Sep 9 20:57:49 2014 +0200

    Previous commit contained some other changes. Refactor welcomepanel to use a Table instead of the Fixed 
widget. Much simpler.

 .../gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs   |   13 +++---
 LongoMatch.GUI/gtk-gui/gui.stetic                  |   44 ++++++++++++++++----
 2 files changed, 42 insertions(+), 15 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
index 890b3fa..3fedf95 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.WelcomePanel.cs
@@ -9,7 +9,7 @@ namespace LongoMatch.Gui.Panel
                private global::Gtk.Label label3;
                private global::Gtk.Button preferencesbutton;
                private global::Gtk.Alignment alignment1;
-               private global::Gtk.Fixed fixedwidget;
+               private global::Gtk.Table tablewidget;
 
                protected virtual void Build ()
                {
@@ -52,12 +52,11 @@ namespace LongoMatch.Gui.Panel
                        this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
                        this.alignment1.Name = "alignment1";
                        // Container child alignment1.Gtk.Container+ContainerChild
-                       this.fixedwidget = new global::Gtk.Fixed ();
-                       this.fixedwidget.WidthRequest = 450;
-                       this.fixedwidget.HeightRequest = 300;
-                       this.fixedwidget.Name = "fixedwidget";
-                       this.fixedwidget.HasWindow = false;
-                       this.alignment1.Add (this.fixedwidget);
+                       this.tablewidget = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
+                       this.tablewidget.Name = "tablewidget";
+                       this.tablewidget.RowSpacing = ((uint)(6));
+                       this.tablewidget.ColumnSpacing = ((uint)(6));
+                       this.alignment1.Add (this.tablewidget);
                        this.vbox1.Add (this.alignment1);
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 
[this.alignment1]));
                        w5.Position = 1;
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 4f9c287..c980a66 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -650,8 +650,8 @@
       </action>
       <action id="CategoriesTemplatesManagerAction">
         <property name="Type">Action</property>
-        <property name="Label" translatable="yes">Categories Templates Manager</property>
-        <property name="ShortLabel" translatable="yes">Templates Manager</property>
+        <property name="Label" translatable="yes">Analysis Dashboards Manager</property>
+        <property name="ShortLabel" translatable="yes">Dashboards Manager</property>
       </action>
       <action id="ViewAction">
         <property name="Type">Action</property>
@@ -696,8 +696,8 @@
       </action>
       <action id="TeamsTemplatesManagerAction">
         <property name="Type">Action</property>
-        <property name="Label" translatable="yes">Teams Templates Manager</property>
-        <property name="ShortLabel" translatable="yes">Teams Templates Manager</property>
+        <property name="Label" translatable="yes">Teams Manager</property>
+        <property name="ShortLabel" translatable="yes">Teams Manager</property>
       </action>
       <action id="HelpAction1">
         <property name="Type">Action</property>
@@ -6475,11 +6475,39 @@ You can continue with the current capture, cancel it or save your project.
             <property name="Xscale">0</property>
             <property name="Yscale">0</property>
             <child>
-              <widget class="Gtk.Fixed" id="fixedwidget">
+              <widget class="Gtk.Table" id="tablewidget">
                 <property name="MemberName" />
-                <property name="WidthRequest">450</property>
-                <property name="HeightRequest">300</property>
-                <property name="HasWindow">False</property>
+                <property name="NRows">3</property>
+                <property name="NColumns">3</property>
+                <property name="RowSpacing">6</property>
+                <property name="ColumnSpacing">6</property>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
+                <child>
+                  <placeholder />
+                </child>
               </widget>
             </child>
           </widget>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]