summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla36014.cs
blob: 7e6cd390c39f27243f91dc168adb16fb117170e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Xamarin.Forms.CustomAttributes;

namespace Xamarin.Forms.Controls
{
    [Issue (IssueTracker.Bugzilla, 36014, "Picker Control Is Not Rendered Correctly", PlatformAffected.WinPhone)]
    public class Bugzilla36014 : TestContentPage
    {
        protected override void Init ()
        {
            var picker = new Picker () { Items = {"Leonardo", "Donatello", "Raphael", "Michaelangelo" } };
            var label = new Label () {Text = "This test is successful if the picker below spans the width of the screen. If the picker is just a sliver on the left edge of the screen, this test has failed." };

            Content = new StackLayout () { Children = {label, picker}};
        }
    }
}