Fixes #2216. MessageBox default width should be proportional for smaller screens.

This commit is contained in:
BDisp
2022-11-11 12:37:20 +00:00
parent d1a03aeecf
commit a2cd464b9b
2 changed files with 9 additions and 6 deletions

View File

@@ -30,11 +30,11 @@ namespace Terminal.Gui.Views {
} else if (iterations == 1) {
Application.Top.Redraw (Application.Top.Bounds);
TestHelpers.AssertDriverContentsWithFrameAre (@"
┌ Title ─────────────────────────────────────────┐
Message
────────────────────────────────────────────────┘
┌ Title ───────────────────────────────────────┐
│ Message │
│ │
│ │
└──────────────────────────────────────────────┘
", output);
Application.RequestStop ();