Fixed bug in scenario that was there all along; cleaned up a bit. renamed

This commit is contained in:
Charlie Kindel
2022-11-05 18:55:40 -06:00
parent 9438835845
commit 2ff4040685

View File

@@ -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,