mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
* Added View.BorderStyle and renamed BorderStyle enum to LineStyle * Fixed a lot of things and broke everything else * Fixed things * Updated DialogTests * Updates including Rect unit tests * Fixed Dialog & MessagBox tests * Fixed AllviewsTester bug * Fixed AllviewsTester bug * Removed Border class * Renamed View privates with _ * Removed comments in MessageBox.cs
This commit is contained in:
@@ -252,13 +252,13 @@ namespace Terminal.Gui.DriverTests {
|
||||
System.Threading.Tasks.Task.Delay (500).Wait ();
|
||||
Application.MainLoop.Invoke (() => {
|
||||
var lbl = new Label ("Hello World") { X = Pos.Center () };
|
||||
var dlg = new Dialog ("Test", new Button ("Ok"));
|
||||
var dlg = new Dialog (new Button ("Ok"));
|
||||
dlg.Add (lbl);
|
||||
Application.Begin (dlg);
|
||||
|
||||
var expected = @"
|
||||
┌──────────────────┐
|
||||
│┌┤Test├─────────┐ │
|
||||
│┌───────────────┐ │
|
||||
││ Hello World │ │
|
||||
││ │ │
|
||||
││ │ │
|
||||
@@ -275,7 +275,7 @@ namespace Terminal.Gui.DriverTests {
|
||||
|
||||
expected = @"
|
||||
┌──────────────────┐
|
||||
│┌┤Test├─────────┐ │
|
||||
│┌───────────────┐ │
|
||||
││ Hello World │ │
|
||||
││ │ │
|
||||
││ │ │
|
||||
|
||||
Reference in New Issue
Block a user