diff --git a/UICatalog/Scenarios/BordersComparisons.cs b/UICatalog/Scenarios/BordersComparisons.cs index 14b664b66..20964b5b7 100644 --- a/UICatalog/Scenarios/BordersComparisons.cs +++ b/UICatalog/Scenarios/BordersComparisons.cs @@ -37,7 +37,7 @@ namespace UICatalog.Scenarios { button.Clicked += () => MessageBox.Query (20, 7, "Hi", "I'm a Window?", "Yes", "No"); var label = new Label ("I'm a Window") { X = Pos.Center (), - Y = Pos.Center () - 2, + Y = Pos.Center () - 1, }; var tv = new TextView () { Y = Pos.AnchorEnd (2), @@ -76,7 +76,7 @@ namespace UICatalog.Scenarios { button2.Clicked += () => MessageBox.Query (20, 7, "Hi", "I'm a Toplevel?", "Yes", "No"); var label2 = new Label ("I'm a Toplevel") { X = Pos.Center (), - Y = Pos.Center () - 2, + Y = Pos.Center () - 1, }; var tv2 = new TextView () { Y = Pos.AnchorEnd (2), @@ -112,7 +112,7 @@ namespace UICatalog.Scenarios { button3.Clicked += () => MessageBox.Query (20, 7, "Hi", "I'm a FrameView?", "Yes", "No"); var label3 = new Label ("I'm a FrameView") { X = Pos.Center (), - Y = Pos.Center () - 2, + Y = Pos.Center () - 1, }; var tv3 = new TextView () { Y = Pos.AnchorEnd (2), diff --git a/UICatalog/Scenarios/BordersOnContainers.cs b/UICatalog/Scenarios/BordersOnContainers.cs index d6cab2643..7e4c8a5c2 100644 --- a/UICatalog/Scenarios/BordersOnContainers.cs +++ b/UICatalog/Scenarios/BordersOnContainers.cs @@ -40,7 +40,7 @@ namespace UICatalog.Scenarios { button.Clicked += () => MessageBox.Query (20, 7, "Hi", $"I'm a {typeName}?", "Yes", "No"); var label = new Label ($"I'm a {typeName}") { X = Pos.Center (), - Y = Pos.Center () - 2, + Y = Pos.Center () - 1, }; var tf2 = new TextField ("1234567890") { X = Pos.AnchorEnd (10),