diff --git a/Demos/UiDemo.cs b/Demos/UiDemo.cs index 1c112da..b1f7f7a 100644 --- a/Demos/UiDemo.cs +++ b/Demos/UiDemo.cs @@ -184,18 +184,18 @@ namespace Demos { var children = this.root.GetChildren(); var totalChildren = this.root.GetChildren(regardGrandchildren: true); - this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has [Bold]{children.Count()}[Regular] children, but there are [Bold]{totalChildren.Count()}[Regular] when regarding children's children")); + this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has {children.Count()} children, but there are {totalChildren.Count()} when regarding children's children")); var textFields = this.root.GetChildren(); - this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has [Bold]{textFields.Count()}[Regular] text fields")); + this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has {textFields.Count()} text fields")); var paragraphs = this.root.GetChildren(); var totalParagraphs = this.root.GetChildren(regardGrandchildren: true); - this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has [Bold]{paragraphs.Count()}[Regular] paragraphs, but there are [Bold]{totalParagraphs.Count()}[Regular] when regarding children's children")); + this.root.AddChild(new Paragraph(Anchor.AutoLeft, 1, $"The root has {paragraphs.Count()} paragraphs, but there are {totalParagraphs.Count()} when regarding children's children")); var autoWidthChildren = this.root.GetChildren(e => e.Size.X == 1); var autoWidthButtons = this.root.GetChildren