Add instructions to manual UI test
This commit is contained in:
Родитель
4bab273f46
Коммит
18372359e4
|
@ -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 }
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче