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:
File diff suppressed because it is too large
Load Diff
@@ -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 = @"
|
||||
┌┤ワイドルーン├──────────────┐
|
||||
┌────────────────────────────┐
|
||||
│これは広いルーンラインです。│
|
||||
│これは広いルーンラインです。│
|
||||
│これは ┌┤テスト├────┐ です。│
|
||||
│これは ┌────────────┐ です。│
|
||||
│これは │ワイドルーン│ です。│
|
||||
│これは │ [ 選ぶ ] │ です。│
|
||||
│これは └────────────┘ です。│
|
||||
|
||||
Reference in New Issue
Block a user