Browse Source

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

Charlie Kindel 2 years ago
parent
commit
2ff4040685
1 changed files with 2 additions and 1 deletions
  1. 2 1
      UICatalog/Scenarios/WindowsAndFrameViews.cs

+ 2 - 1
UICatalog/Scenarios/WindowsAndFrameViews.cs

@@ -21,9 +21,10 @@ namespace UICatalog.Scenarios {
 			// list of Windows we create
 			// list of Windows we create
 			var listWin = new List<View> ();
 			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);
 			Application.Top.Remove (Win);
 			Win?.Dispose ();
 			Win?.Dispose ();
+			Win.Height = 10;
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 				X = Pos.Center (),
 				X = Pos.Center (),
 				Y = 1,
 				Y = 1,