summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla35294.cs
diff options
context:
space:
mode:
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.cs45
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