using System; using System.Collections.Generic; using System.Linq; using Terminal.Gui; namespace UICatalog { [ScenarioMetadata (Name: "Text Alignment and Direction", Description: "Demonstrates text alignment")] [ScenarioCategory ("Text")] class TextAlignmentsAndDirections : Scenario { public override void Setup () { // string txt = ".\n...\n.....\nHELLO\n.....\n...\n."; // string txt = "┌──┴──┐\n┤HELLO├\n└──┬──┘"; string txt = "HELLO WORLD"; var color1 = new ColorScheme { Normal = Application.Driver.MakeAttribute (Color.Black, Color.Gray) }; var color2 = new ColorScheme { Normal = Application.Driver.MakeAttribute (Color.Black, Color.DarkGray) }; var txts = new List