Makes UI Catalog Scenarios use Theme and top-level color scheme (#2401)

* lots of clean up

* scenarios now get themes from uicatalog
This commit is contained in:
Tig
2023-03-16 07:50:09 -06:00
committed by GitHub
parent b7d206bf56
commit c94f9165f4
52 changed files with 305 additions and 160 deletions

View File

@@ -106,7 +106,7 @@ namespace Terminal.Gui.TopLevelTests {
var statusBar = new StatusBar (new [] {
new StatusItem(Key.CtrlMask | Key.R, "~^R~ Run Top2", () => Application.Run (Top2 ())),
new StatusItem(Key.CtrlMask | Key.Q, "~^Q~ Quit", () => Application.RequestStop())
new StatusItem(Application.QuitKey, $"{Application.QuitKey} to Quit", () => Application.RequestStop())
});
top.Add (statusBar);