-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Bugzilla39829.cs
41 lines (34 loc) · 976 Bytes
/
Bugzilla39829.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[NUnit.Framework.Category(Core.UITests.UITestCategories.Bugzilla)]
#endif
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 39829, "RowHeight of ListView is not working for UWP", PlatformAffected.UWP)]
public class Bugzilla39829 : TestContentPage
{
protected override void Init()
{
Title = "Master";
var instructions = new Label
{
Text = "The text items in the list below should be spaced far apart vertically. "
+ "If they are close together, this test has failed."
};
var listView = new ListView
{
RowHeight = 150,
AutomationId = "listview",
ItemsSource = new[] { "Test1", "Test2", "Test3", "Test4", "Test5", "Test6", }
};
Content = new StackLayout { Children = { instructions, listView } };
}
}
}