mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Fixed bug in scenario that was there all along; cleaned up a bit. renamed
This commit is contained in:
@@ -21,9 +21,10 @@ namespace UICatalog.Scenarios {
|
||||
// list of Windows we create
|
||||
var listWin = new List<View> ();
|
||||
|
||||
// Ignore the Win that UI Catalog created and create a new one
|
||||
//Ignore the Win that UI Catalog created and create a new one
|
||||
Application.Top.Remove (Win);
|
||||
Win?.Dispose ();
|
||||
Win.Height = 10;
|
||||
Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
|
||||
X = Pos.Center (),
|
||||
Y = 1,
|
||||
|
||||
Reference in New Issue
Block a user