diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-02-08 10:17:28 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-02-20 21:31:03 +0900 |
commit | 0c3447a174326be7a2caf463ef9a9b1f12626920 (patch) | |
tree | ee9b261a3225bd515c41bc9f71cf00ddc0734218 /Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj | |
parent | a2802dac119c5045dd2857cbb685ae9465ab0324 (diff) | |
download | xamarin-forms-0c3447a174326be7a2caf463ef9a9b1f12626920.tar.gz xamarin-forms-0c3447a174326be7a2caf463ef9a9b1f12626920.tar.bz2 xamarin-forms-0c3447a174326be7a2caf463ef9a9b1f12626920.zip |
Support density independent pixel
- Support Enable/Disable of this feature
- By default, it was disabled. if you want enabling DP support feature,
Use Forms.Init(FormsApplication application, bool useDeviceIndependentPixel) API
- Hard-coded pixel value was changed to DP units
- If you deal with native coordinate, use Forms.ConvertToScaledPixel / Forms.ConvertToScaledDP
- If you convert hard-coded DP to pixels, use Forms.ConvertToPixel
- Update font size convert formula
Change-Id: I345115551e1c37d27b8a7152af5ef847d035c9a4
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj index 54863451..6238cfaf 100644 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj +++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj @@ -51,6 +51,7 @@ <Compile Include="Extensions\PlatformConfigurationExtensions.cs" /> <Compile Include="Extensions\ColorExtensions.cs" /> <Compile Include="Extensions\KeyboardExtensions.cs" /> + <Compile Include="Extensions\DensityIndependentPixelExtensions.cs" /> <Compile Include="Extensions\LayoutExtensions.cs" /> <Compile Include="Extensions\NativeBindingExtensions.cs" /> <Compile Include="Extensions\ScrollToPositionExtensions.cs" /> |