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

File diff suppressed because it is too large Load Diff

View File

@@ -57,21 +57,21 @@ namespace Terminal.Gui.TextTests {
これは広いルーンラインです。
これは広いルーンラインです。"
};
var win = new Window ("ワイドルーン") { Width = Dim.Fill (), Height = Dim.Fill () };
var win = new Window () { Width = Dim.Fill (), Height = Dim.Fill () };
win.Add (tv);
Application.Top.Add (win);
var lbl = new Label ("ワイドルーン。");
var dg = new Dialog ("テスト", 14, 4, new Button ("選ぶ"));
var dg = new Dialog (new Button ("選ぶ")) { Width = 14, Height = 4 };
dg.Add (lbl);
Application.Begin (Application.Top);
Application.Begin (dg);
((FakeDriver)Application.Driver).SetBufferSize (30, 10);
var expected = @"
┤ワイドルーン├──────────────┐
────────────────────────────┐
│これは広いルーンラインです。│
│これは広いルーンラインです。│
│これは ┌┤テスト├────┐ です。│
│これは ┌────────────┐ です。│
│これは │ワイドルーン│ です。│
│これは │ [ 選ぶ ] │ です。│
│これは └────────────┘ です。│