Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
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 wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs Tue Oct 18 21:03:35 2011 +0100 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs Wed Oct 19 20:35:31 2011 +0100 @@ -112,6 +112,7 @@ } this.DefaultWidth = 403; this.DefaultHeight = 311; + this.validationWidget.Hide (); this.Show (); this.lstUnitTypes.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRowActivated); this.bttnCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelActivated);
--- a/gtk-gui/gui.stetic Tue Oct 18 21:03:35 2011 +0100 +++ b/gtk-gui/gui.stetic Wed Oct 19 20:35:31 2011 +0100 @@ -660,6 +660,7 @@ <child> <widget class="IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget" id="validationWidget"> <property name="MemberName" /> + <property name="Visible">False</property> <property name="Events">ButtonPressMask</property> </widget> <packing>