summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2017-01-30 23:50:49 (GMT)
committerRui Marinho <me@ruimarinho.net>2017-01-30 23:50:49 (GMT)
commit6296c4478f0e92c73e4d02d5a6ce45aa3cd76124 (patch)
tree53f073ef6745ac72fb7db71ec3a3b5972d051f92 /Xamarin.Forms.Core
parent0b7623b5e6dea1a4ab0257b94b6ce6c67864f34b (diff)
downloadxamarin-forms-6296c4478f0e92c73e4d02d5a6ce45aa3cd76124.zip
xamarin-forms-6296c4478f0e92c73e4d02d5a6ce45aa3cd76124.tar.gz
xamarin-forms-6296c4478f0e92c73e4d02d5a6ce45aa3cd76124.tar.bz2
[iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth (#696)
* [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth * Update docs
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs b/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
index 494bb12..ddd1d63 100644
--- a/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
+++ b/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
@@ -7,7 +7,7 @@ namespace Xamarin.Forms.PlatformConfiguration.iOSSpecific
public static class Entry
{
public static readonly BindableProperty AdjustsFontSizeToFitWidthProperty =
- BindableProperty.Create("AdjustsFontSizeToFitWidthEnabled", typeof(bool),
+ BindableProperty.Create("AdjustsFontSizeToFitWidth", typeof(bool),
typeof(Entry), false);
public static bool GetAdjustsFontSizeToFitWidth(BindableObject element)
@@ -20,12 +20,12 @@ namespace Xamarin.Forms.PlatformConfiguration.iOSSpecific
element.SetValue(AdjustsFontSizeToFitWidthProperty, value);
}
- public static bool IsAdjustsFontSizeToFitWidthEnabled(this IPlatformElementConfiguration<iOS, FormsElement> config)
+ public static bool AdjustsFontSizeToFitWidth(this IPlatformElementConfiguration<iOS, FormsElement> config)
{
return GetAdjustsFontSizeToFitWidth(config.Element);
}
- public static IPlatformElementConfiguration<iOS, FormsElement> SetAdjustsFontSizeToFitWidthEnabled(this IPlatformElementConfiguration<iOS, FormsElement> config, bool value)
+ public static IPlatformElementConfiguration<iOS, FormsElement> SetAdjustsFontSizeToFitWidth(this IPlatformElementConfiguration<iOS, FormsElement> config, bool value)
{
SetAdjustsFontSizeToFitWidth(config.Element, value);
return config;