Fixes #2486 - Removes old Border and fixes a litany of related things (#2525)

* 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:
Tig
2023-04-10 17:34:52 -06:00
committed by GitHub
parent 98aab602eb
commit a637f8a29c
78 changed files with 5222 additions and 4081 deletions

View File

@@ -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 │ │
││ │ │
││ │ │