[longomatch] Set more reallistic limits to weight and height



commit c444aeeb03a94cd61540fdc6e9b3f886c9c16d12
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Apr 17 21:00:06 2011 +0200

    Set more reallistic limits to weight and height

 .../LongoMatch.Gui.Component.PlayerProperties.cs   |    8 ++++----
 LongoMatch/gtk-gui/gui.stetic                      |   10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs
index 33aa7ec..57fcdb1 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Component.PlayerProperties.cs
@@ -121,14 +121,14 @@ namespace LongoMatch.Gui.Component
 			w6.XOptions = ((global::Gtk.AttachOptions)(4));
 			w6.YOptions = ((global::Gtk.AttachOptions)(4));
 			// Container child table1.Gtk.Table+TableChild
-			this.heightspinbutton = new global::Gtk.SpinButton (0, 100, 1);
+			this.heightspinbutton = new global::Gtk.SpinButton (0, 10, 1);
 			this.heightspinbutton.CanFocus = true;
 			this.heightspinbutton.Name = "heightspinbutton";
-			this.heightspinbutton.Adjustment.PageIncrement = 10;
+			this.heightspinbutton.Adjustment.PageIncrement = 1;
 			this.heightspinbutton.ClimbRate = 1;
 			this.heightspinbutton.Digits = ((uint)(2));
 			this.heightspinbutton.Numeric = true;
-			this.heightspinbutton.Value = 18;
+			this.heightspinbutton.Value = 10;
 			this.table1.Add (this.heightspinbutton);
 			global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.heightspinbutton]));
 			w7.TopAttach = ((uint)(4));
@@ -294,7 +294,7 @@ namespace LongoMatch.Gui.Component
 			w21.XOptions = ((global::Gtk.AttachOptions)(4));
 			w21.YOptions = ((global::Gtk.AttachOptions)(4));
 			// Container child table1.Gtk.Table+TableChild
-			this.weightspinbutton = new global::Gtk.SpinButton (0, 100, 1);
+			this.weightspinbutton = new global::Gtk.SpinButton (0, 400, 1);
 			this.weightspinbutton.CanFocus = true;
 			this.weightspinbutton.Name = "weightspinbutton";
 			this.weightspinbutton.Adjustment.PageIncrement = 10;
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index d620879..0ce101a 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -3871,13 +3871,13 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
           <widget class="Gtk.SpinButton" id="heightspinbutton">
             <property name="MemberName" />
             <property name="CanFocus">True</property>
-            <property name="Upper">100</property>
-            <property name="PageIncrement">10</property>
-            <property name="StepIncrement">1</property>
+            <property name="Upper">10</property>
+            <property name="PageIncrement">1</property>
+            <property name="StepIncrement">0.1</property>
             <property name="ClimbRate">1</property>
             <property name="Digits">2</property>
             <property name="Numeric">True</property>
-            <property name="Value">18</property>
+            <property name="Value">1.8</property>
             <signal name="ValueChanged" handler="OnHeightspinbuttonValueChanged" />
           </widget>
           <packing>
@@ -4191,7 +4191,7 @@ No</property>
           <widget class="Gtk.SpinButton" id="weightspinbutton">
             <property name="MemberName" />
             <property name="CanFocus">True</property>
-            <property name="Upper">100</property>
+            <property name="Upper">400</property>
             <property name="PageIncrement">10</property>
             <property name="StepIncrement">1</property>
             <property name="ClimbRate">1</property>



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