mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Code cleanup and refactor
This commit is contained in:
@@ -67,7 +67,7 @@ Y
|
||||
Assert.Equal (new (0, 0, 10, 2), label.Frame);
|
||||
|
||||
top.LayoutSubviews ();
|
||||
Application.ClipToScreen ();
|
||||
View.SetClipToScreen ();
|
||||
top.Draw ();
|
||||
|
||||
expected = @"
|
||||
@@ -1258,7 +1258,7 @@ w ";
|
||||
verticalView.Width = 2;
|
||||
verticalView.TextFormatter.ConstrainToSize = new (2, 20);
|
||||
Assert.True (verticalView.TextFormatter.NeedsFormat);
|
||||
Application.ClipToScreen ();
|
||||
View.SetClipToScreen ();
|
||||
top.Draw ();
|
||||
Assert.Equal (new (0, 3, 2, 20), verticalView.Frame);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user