From 18372359e420da54050f38468d6444b3ec4157b4 Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Wed, 2 Jan 2019 18:40:48 -0700 Subject: [PATCH] Add instructions to manual UI test --- .../Xamarin.Forms.Controls.Issues.Shared/Issue214.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs index fa186521e..c8bd363bb 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue214.cs @@ -12,9 +12,12 @@ namespace Xamarin.Forms.Controls.Issues { public Issue214 () { + var instructions = new Label { Text = "The text of each item should be visually distinct from the " + + "detail of each item. If both typefaces are identical, this test has failed." }; + var items = Enumerable.Range (0, 50).Select (i => new TextCell { - Text = i.ToString (), - Detail = i.ToString () + Text = "Text" + i.ToString (), + Detail = "Detail" + i.ToString () }).ToList (); var tableSection = new TableSection("First Section"); @@ -31,7 +34,10 @@ namespace Xamarin.Forms.Controls.Issues }; tableLayout.Intent = TableIntent.Data; - Content = tableLayout; + Content = new StackLayout + { + Children = { instructions, tableLayout } + }; } } }