diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget.cs @ 144:929ef50c3919

Fixes #344: Show unit requirement failures * Remove border on scrollable area * Make text selectable, in case people want to copy it * Shrink size of New Unit window to remove spare space
author IBBoard <dev@ibboard.co.uk>
date Tue, 25 Oct 2011 20:32:47 +0100
parents f23e5b40ca9d
children 7b091ea86819
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget.cs	Wed Oct 19 20:35:31 2011 +0100
+++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.ValidationFailureWidget.cs	Tue Oct 25 20:32:47 2011 +0100
@@ -33,7 +33,6 @@
 			this.scrolledwindow1.CanFocus = true;
 			this.scrolledwindow1.Name = "scrolledwindow1";
 			this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
-			this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
 			// Container child scrolledwindow1.Gtk.Container+ContainerChild
 			global::Gtk.Viewport w2 = new global::Gtk.Viewport ();
 			w2.ShadowType = ((global::Gtk.ShadowType)(0));
@@ -42,8 +41,8 @@
 			this.validationMessages.Name = "validationMessages";
 			this.validationMessages.Xalign = 0F;
 			this.validationMessages.Yalign = 0F;
-			this.validationMessages.LabelProp = global::Mono.Unix.Catalog.GetString ("Fibble");
 			this.validationMessages.Wrap = true;
+			this.validationMessages.Selectable = true;
 			w2.Add (this.validationMessages);
 			this.scrolledwindow1.Add (w2);
 			this.hbox1.Add (this.scrolledwindow1);