[longomatch/redesign3] Fix size of some widgets



commit 1b883f54291744d502097e46d003ecbcdbd9f576
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Aug 21 19:04:44 2011 +0200

    Fix size of some widgets

 .../LongoMatch.Gui.Component.TaggerWidget.cs       |    2 ++
 .../LongoMatch.Gui.Dialog.NewProjectDialog.cs      |    2 +-
 LongoMatch/gtk-gui/gui.stetic                      |    8 +++++---
 3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
index 565c401..d759074 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.TaggerWidget.cs
@@ -26,6 +26,8 @@ namespace LongoMatch.Gui.Component
 			this.vbox2.Add (this.table1);
 			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
 			w1.Position = 0;
+			w1.Expand = false;
+			w1.Fill = false;
 			this.Add (this.vbox2);
 			if ((this.Child != null)) {
 				this.Child.ShowAll ();
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
index 2d15c39..e7e7e91 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
@@ -72,7 +72,7 @@ namespace LongoMatch.Gui.Dialog
 				this.Child.ShowAll ();
 			}
 			this.DefaultWidth = 384;
-			this.DefaultHeight = 451;
+			this.DefaultHeight = 337;
 			this.Show ();
 		}
 	}
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index 9d1c3f2..42d043e 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -1318,7 +1318,7 @@
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.NewProjectDialog" design-size="384 451">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.NewProjectDialog" design-size="384 337">
     <property name="MemberName" />
     <property name="Title" translatable="yes">New Project</property>
     <property name="Icon">stock:longomatch Dialog</property>
@@ -5351,7 +5351,7 @@ Show-&gt;&lt;b&gt; S&lt;/b&gt;
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.TaggerWidget" design-size="377 196">
+  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.TaggerWidget" design-size="377 42">
     <property name="MemberName" />
     <property name="Visible">False</property>
     <child>
@@ -5395,7 +5395,9 @@ Show-&gt;&lt;b&gt; S&lt;/b&gt;
           </widget>
           <packing>
             <property name="Position">0</property>
-            <property name="AutoSize">True</property>
+            <property name="AutoSize">False</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
           </packing>
         </child>
       </widget>



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