using System; using System.Collections.Generic; using System.Linq; using System.Text; using Terminal.Gui; namespace UICatalog.Scenarios { [ScenarioMetadata (Name: "Text Alignment and Direction", Description: "Demos horiztonal and vertical text alignment and text direction.")] [ScenarioCategory ("Text and Formatting")] public 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 = new Attribute (Color.Black, Color.Gray) }; var color2 = new ColorScheme { Normal = new Attribute (Color.Black, Color.DarkGray) }; var txts = new List