From f294adf4cc31f7c38fdf4175b9c89c7492b317b4 Mon Sep 17 00:00:00 2001 From: BDisp Date: Tue, 28 Feb 2023 22:27:40 +0000 Subject: [PATCH] Sets the Pos.Y later. --- UICatalog/Scenarios/BordersOnContainers.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UICatalog/Scenarios/BordersOnContainers.cs b/UICatalog/Scenarios/BordersOnContainers.cs index 7e4c8a5c2..039ac521d 100644 --- a/UICatalog/Scenarios/BordersOnContainers.cs +++ b/UICatalog/Scenarios/BordersOnContainers.cs @@ -16,7 +16,7 @@ namespace UICatalog.Scenarios { var effect3D = true; smartView.X = Pos.Center (); - smartView.Y = Pos.Center () + 4; + smartView.Y = 0; smartView.Width = 40; smartView.Height = 20; smartView.Border = new Border () { @@ -243,6 +243,8 @@ namespace UICatalog.Scenarios { }; Add (replaceBorder); + smartView.Y = Pos.Center () + 4; + Add (new Label ("BorderStyle:")); var borderStyleEnum = Enum.GetValues (typeof (BorderStyle)).Cast ().ToList ();