changeset 143:aca4623b7bdf

Re #344: Show unit requirement failures * Hide warning widget by default
author IBBoard <dev@ibboard.co.uk>
date Wed, 19 Oct 2011 20:35:31 +0100
parents f23e5b40ca9d
children 929ef50c3919
files gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs gtk-gui/gui.stetic
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs	Tue Oct 18 21:03:35 2011 +0100
     1.2 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs	Wed Oct 19 20:35:31 2011 +0100
     1.3 @@ -112,6 +112,7 @@
     1.4  			}
     1.5  			this.DefaultWidth = 403;
     1.6  			this.DefaultHeight = 311;
     1.7 +			this.validationWidget.Hide ();
     1.8  			this.Show ();
     1.9  			this.lstUnitTypes.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRowActivated);
    1.10  			this.bttnCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelActivated);
     2.1 --- a/gtk-gui/gui.stetic	Tue Oct 18 21:03:35 2011 +0100
     2.2 +++ b/gtk-gui/gui.stetic	Wed Oct 19 20:35:31 2011 +0100
     2.3 @@ -660,6 +660,7 @@
     2.4              <child>
     2.5                <widget class="IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget" id="validationWidget">
     2.6                  <property name="MemberName" />
     2.7 +                <property name="Visible">False</property>
     2.8                  <property name="Events">ButtonPressMask</property>
     2.9                </widget>
    2.10                <packing>