2
0
Эх сурвалжийг харах

Merge pull request #2192 from tig/blue_background_windows_frameviews

Minor tweak: Windows & Frameviews Scenario - Changed Top's colorscheme to base
Tig 2 жил өмнө
parent
commit
dc6c809b95

+ 3 - 0
UICatalog/Scenarios/WindowsAndFrameViews.cs

@@ -24,6 +24,7 @@ namespace UICatalog.Scenarios {
 			//Ignore the Win that UI Catalog created and create a new one
 			Application.Top.Remove (Win);
 			Win?.Dispose ();
+
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 				X = Pos.Center (),
 				Y = 1,
@@ -175,6 +176,8 @@ namespace UICatalog.Scenarios {
 
 			Application.Top.Add (frame);
 			listWin.Add (frame);
+
+			Application.Top.ColorScheme = Colors.Base;
 		}
 	}
 }