Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison Widgets/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 |
comparison
equal
deleted
inserted
replaced
143:aca4623b7bdf | 144:929ef50c3919 |
---|---|
24 { | 24 { |
25 StringBuilder sb = new StringBuilder(); | 25 StringBuilder sb = new StringBuilder(); |
26 | 26 |
27 foreach (string msg in messages) | 27 foreach (string msg in messages) |
28 { | 28 { |
29 sb.AppendLine("• " + msg); | 29 sb.AppendLine(" • " + msg); |
30 } | 30 } |
31 | 31 |
32 validationMessages.Text = sb.ToString(); | 32 validationMessages.Text = sb.ToString(); |
33 } | 33 } |
34 } | 34 } |