summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs
index e0abcc36..c0dd913b 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ScrollViewOutOfBounds.cs
@@ -10,7 +10,9 @@ namespace Xamarin.Forms.Controls
{
var header = new Label {
Text = "ScrollView",
+#pragma warning disable 618
Font = Font.SystemFontOfSize (50, FontAttributes.Bold),
+#pragma warning restore 618
HorizontalOptions = LayoutOptions.Center
};
@@ -43,7 +45,9 @@ namespace Xamarin.Forms.Controls
"only at runtime, you should probably put it in " +
"a StackLayout just to be sure your stuff doesn't " +
"go running off the bottom of the screen.",
+#pragma warning disable 618
Font = Font.SystemFontOfSize (NamedSize.Large)
+#pragma warning restore 618
}
};