소스 검색

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

Charlie Kindel 2 년 전
부모
커밋
2ff4040685
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
 			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,