From 68e37d0d1c34eab379ca8bb3bdb75e05bc003efa Mon Sep 17 00:00:00 2001 From: Tig Date: Mon, 15 Apr 2024 09:22:32 -0600 Subject: [PATCH] Fixed ColorPicker scenario with Bdisp's suggested code --- UICatalog/Scenarios/ColorPicker.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UICatalog/Scenarios/ColorPicker.cs b/UICatalog/Scenarios/ColorPicker.cs index 32fdd26d3..8ae76c5dc 100644 --- a/UICatalog/Scenarios/ColorPicker.cs +++ b/UICatalog/Scenarios/ColorPicker.cs @@ -44,8 +44,8 @@ public class ColorPickers : Scenario backgroundColorPicker = new ColorPicker { Title = "Background Color", - Y = Pos.Center (), - X = Pos.Center (), + // TODO: Replace with Pos.AnchorEnd () when #2900 is done + X = Pos.AnchorEnd ((8 * 4) + 2), // 8 box * 4 width + 2 for border BoxHeight = 1, BoxWidth = 4, BorderStyle = LineStyle.Single