mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign
This commit is contained in:
@@ -137,7 +137,7 @@ public class MessageBoxTests
|
||||
{
|
||||
int iterations = -1;
|
||||
|
||||
((FakeDriver)Application.Driver).SetBufferSize (15, 15); // 15 x 15 gives us enough room for a button with one char (9x1)
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (15, 15); // 15 x 15 gives us enough room for a button with one char (9x1)
|
||||
|
||||
Rectangle mbFrame = Rectangle.Empty;
|
||||
|
||||
@@ -169,7 +169,7 @@ public class MessageBoxTests
|
||||
int iterations = -1;
|
||||
var top = new Toplevel ();
|
||||
top.BorderStyle = LineStyle.None;
|
||||
((FakeDriver)Application.Driver).SetBufferSize (20, 10);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (20, 10);
|
||||
|
||||
var btn =
|
||||
$"{CM.Glyphs.LeftBracket}{CM.Glyphs.LeftDefaultIndicator} btn {CM.Glyphs.RightDefaultIndicator}{CM.Glyphs.RightBracket}";
|
||||
@@ -234,7 +234,7 @@ public class MessageBoxTests
|
||||
int iterations = -1;
|
||||
var top = new Toplevel ();
|
||||
top.BorderStyle = LineStyle.None;
|
||||
((FakeDriver)Application.Driver).SetBufferSize (20, 10);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (20, 10);
|
||||
|
||||
var btn =
|
||||
$"{CM.Glyphs.LeftBracket}{CM.Glyphs.LeftDefaultIndicator} btn {CM.Glyphs.RightDefaultIndicator}{CM.Glyphs.RightBracket}";
|
||||
@@ -314,7 +314,7 @@ public class MessageBoxTests
|
||||
public void Size_Not_Default_Message (int height, int width, string message)
|
||||
{
|
||||
int iterations = -1;
|
||||
((FakeDriver)Application.Driver).SetBufferSize (100, 100);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (100, 100);
|
||||
|
||||
Application.Iteration += (s, a) =>
|
||||
{
|
||||
@@ -351,7 +351,7 @@ public class MessageBoxTests
|
||||
public void Size_Not_Default_Message_Button (int height, int width, string message)
|
||||
{
|
||||
int iterations = -1;
|
||||
((FakeDriver)Application.Driver).SetBufferSize (100, 100);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (100, 100);
|
||||
|
||||
Application.Iteration += (s, a) =>
|
||||
{
|
||||
@@ -384,7 +384,7 @@ public class MessageBoxTests
|
||||
public void Size_Not_Default_No_Message (int height, int width)
|
||||
{
|
||||
int iterations = -1;
|
||||
((FakeDriver)Application.Driver).SetBufferSize (100, 100);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (100, 100);
|
||||
|
||||
Application.Iteration += (s, a) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user