summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2016-11-18 06:38:30 -0600
committerStephane Delcroix <stephane@delcroix.org>2016-11-18 13:38:30 +0100
commitb2e2a8ff2a768e01fd8ee155c519de4bee310fb3 (patch)
treefb3c3453a30712ec06c0bd7388d037042a34cecf /Xamarin.Forms.Controls
parent78518ce5cf9b05d4e9583c09cd5cc6256c74843c (diff)
downloadxamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.tar.gz
xamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.tar.bz2
xamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.zip
Platform specifics naming adjustments (#526)
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r--Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/EntryPageiOS.cs2
-rw-r--r--Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/TabbedPageAndroid.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/EntryPageiOS.cs b/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/EntryPageiOS.cs
index 88936786..9093c3b2 100644
--- a/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/EntryPageiOS.cs
+++ b/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/EntryPageiOS.cs
@@ -23,7 +23,7 @@ namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
new Button
{
Text = "Toggle AdjustsFontSizeToFitWidth",
- Command = new Command(() => entry.On<iOS>().SetAdjustsFontSizeToFitWidth(!entry.On<iOS>().AdjustsFontSizeToFitWidth()))
+ Command = new Command(() => entry.On<iOS>().SetAdjustsFontSizeToFitWidthEnabled(!entry.On<iOS>().IsAdjustsFontSizeToFitWidthEnabled()))
}
}
};
diff --git a/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/TabbedPageAndroid.cs b/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/TabbedPageAndroid.cs
index ab1904a4..dff3b292 100644
--- a/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/TabbedPageAndroid.cs
+++ b/Xamarin.Forms.Controls/GalleryPages/PlatformSpecificsGalleries/TabbedPageAndroid.cs
@@ -18,7 +18,7 @@ namespace Xamarin.Forms.Controls.GalleryPages.PlatformSpecificsGalleries
Children.Add(CreateAdditonalPage());
Children.Add(CreateAdditonalPage());
Children.Add(CreateAdditonalPage());
- On<Android>().SetOffscreenPageLimitProperty(2);
+ On<Android>().SetOffscreenPageLimit(2);
}
ContentPage CreateFirstPage(ICommand restore)