diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 13:02:25 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 16:13:41 -0700 |
commit | 17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch) | |
tree | b5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs | |
download | xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2 xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip |
Initial import
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs')
-rw-r--r-- | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs new file mode 100644 index 00000000..036b7a91 --- /dev/null +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs @@ -0,0 +1,45 @@ +using Xamarin.Forms.CustomAttributes; + +namespace Xamarin.Forms.Controls +{ + [Preserve (AllMembers = true)] + [Issue (IssueTracker.Bugzilla, 35294, "Certain pages do not align properly in RT Desktop")] + public class Bugzilla35294 : TestContentPage + { + public static Label LblMsg = new Label + { + FontSize = 16, + Text = "This is an example.... what is wrong with this? ", + HorizontalOptions = LayoutOptions.Center, + TextColor = Color.Black, + }; + + protected override void Init () + { + Label header = new Label + { + Text = "Should not see blue", + Font = Font.BoldSystemFontOfSize(40), + HorizontalOptions = LayoutOptions.Center, + TextColor = Color.Black + }; + + StackLayout stack = new StackLayout + { + BackgroundColor = Color.White, + VerticalOptions = LayoutOptions.FillAndExpand, + Spacing = 10, + + Children = { header, LblMsg, } + }; + + Content = new ScrollView + { + BackgroundColor = Color.Blue, + VerticalOptions = LayoutOptions.FillAndExpand, + Orientation = ScrollOrientation.Vertical, + Content = stack + }; + } + } +}
\ No newline at end of file |