mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Reamed Bounds -> ViewPort to see how it feels
This commit is contained in:
@@ -235,7 +235,7 @@ public class DrawTests
|
||||
view.SetRelativeLayout (Application.Driver.Bounds);
|
||||
|
||||
Assert.Equal (new (0,0,2,2), view.Frame);
|
||||
Assert.Equal (Rectangle.Empty, view.Bounds);
|
||||
Assert.Equal (Rectangle.Empty, view.Viewport);
|
||||
|
||||
view.Draw ();
|
||||
|
||||
@@ -260,7 +260,7 @@ public class DrawTests
|
||||
view.SetRelativeLayout (Application.Driver.Bounds);
|
||||
|
||||
Assert.Equal (new (0,0,2,1), view.Frame);
|
||||
Assert.Equal (Rectangle.Empty, view.Bounds);
|
||||
Assert.Equal (Rectangle.Empty, view.Viewport);
|
||||
|
||||
view.Draw ();
|
||||
|
||||
@@ -278,7 +278,7 @@ public class DrawTests
|
||||
view.SetRelativeLayout (Application.Driver.Bounds);
|
||||
|
||||
Assert.Equal (new (0,0,1,2), view.Frame);
|
||||
Assert.Equal (Rectangle.Empty, view.Bounds);
|
||||
Assert.Equal (Rectangle.Empty, view.Viewport);
|
||||
|
||||
view.Draw ();
|
||||
|
||||
@@ -303,7 +303,7 @@ public class DrawTests
|
||||
view.SetRelativeLayout (Application.Driver.Bounds);
|
||||
|
||||
Assert.Equal (new (0,0,1,2), view.Frame);
|
||||
Assert.Equal (Rectangle.Empty, view.Bounds);
|
||||
Assert.Equal (Rectangle.Empty, view.Viewport);
|
||||
|
||||
view.Draw ();
|
||||
|
||||
@@ -329,7 +329,7 @@ public class DrawTests
|
||||
view.SetRelativeLayout (Application.Driver.Bounds);
|
||||
|
||||
Assert.Equal (new (0,0,2,1), view.Frame);
|
||||
Assert.Equal (Rectangle.Empty, view.Bounds);
|
||||
Assert.Equal (Rectangle.Empty, view.Viewport);
|
||||
|
||||
view.Draw ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user