diff --git a/UICatalog/Scenarios/AllViewsTester.cs b/UICatalog/Scenarios/AllViewsTester.cs index 116c9aaf5..df5439a65 100644 --- a/UICatalog/Scenarios/AllViewsTester.cs +++ b/UICatalog/Scenarios/AllViewsTester.cs @@ -139,7 +139,7 @@ public class AllViewsTester : Scenario Title = "Settings" }; - string [] radioItems = { "_Percent(x)", "_AnchorEnd", "_Center", "A_t(x)" }; + string [] radioItems = { "_Percent(x)", "_AnchorEnd", "_Center", "A_bsolute(x)" }; _locationFrame = new FrameView { @@ -171,7 +171,7 @@ public class AllViewsTester : Scenario _locationFrame.Add (_xRadioGroup); - radioItems = new [] { "P_ercent(y)", "A_nchorEnd", "C_enter", "At(_y)" }; + radioItems = new [] { "P_ercent(y)", "A_nchorEnd", "C_enter", "Absoulte(_y)" }; label = new Label { X = Pos.Right (_xRadioGroup) + 1, Y = 0, Text = "Y:" }; _locationFrame.Add (label); _yText = new TextField { X = Pos.Right (label) + 1, Y = 0, Width = 4, Text = $"{_yVal}" }; diff --git a/UICatalog/Scenarios/ComputedLayout.cs b/UICatalog/Scenarios/ComputedLayout.cs index 94d3a1937..5e6eb5cd2 100644 --- a/UICatalog/Scenarios/ComputedLayout.cs +++ b/UICatalog/Scenarios/ComputedLayout.cs @@ -64,7 +64,7 @@ public class ComputedLayout : Scenario app.Add (verticalRuler); // Demonstrate At - Using Pos.At to locate a view in an absolute location - var atButton = new Button { Text = "At(2,1)", X = Pos.Absolute (2), Y = Pos.Absolute (1) }; + var atButton = new Button { Text = "Absolute(2,1)", X = Pos.Absolute (2), Y = Pos.Absolute (1) }; app.Add (atButton); // Throw in a literal absolute - Should function identically to above diff --git a/UnitTests/UICatalog/ScenarioTests.cs b/UnitTests/UICatalog/ScenarioTests.cs index 90b825342..41e1f5405 100644 --- a/UnitTests/UICatalog/ScenarioTests.cs +++ b/UnitTests/UICatalog/ScenarioTests.cs @@ -122,8 +122,8 @@ public class ScenarioTests : TestsAllViews RadioGroup _hRadioGroup; TextField _hText; var _hVal = 0; - List posNames = new () { "Factor", "AnchorEnd", "Center", "Absolute" }; - List dimNames = new () { "Auto", "Factor", "Fill", "Absolute" }; + List posNames = new () { "Percent", "AnchorEnd", "Center", "Absolute" }; + List dimNames = new () { "Auto", "Percent", "Fill", "Absolute" }; Application.Init (new FakeDriver ()); @@ -167,7 +167,7 @@ public class ScenarioTests : TestsAllViews _computedCheckBox = new () { X = 0, Y = 0, Text = "Computed Layout", Checked = true }; _settingsPane.Add (_computedCheckBox); - var radioItems = new [] { "Percent(x)", "AnchorEnd(x)", "Center", "At(x)" }; + var radioItems = new [] { "Percent(x)", "AnchorEnd(x)", "Center", "Absolute(x)" }; _locationFrame = new () { @@ -187,7 +187,7 @@ public class ScenarioTests : TestsAllViews _locationFrame.Add (_xRadioGroup); - radioItems = new [] { "Percent(y)", "AnchorEnd(y)", "Center", "At(y)" }; + radioItems = new [] { "Percent(y)", "AnchorEnd(y)", "Center", "Absolute(y)" }; label = new () { X = Pos.Right (_xRadioGroup) + 1, Y = 0, Text = "y:" }; _locationFrame.Add (label); _yText = new () { X = Pos.Right (label) + 1, Y = 0, Width = 4, Text = $"{_yVal}" };