diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-01-04 14:01:48 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-10-23 13:34:25 +0900 |
commit | 7a3f2789d7b687654ed45fc1971a4a4159fe4c51 (patch) | |
tree | bb65d2f8af6179c83d999271b749bce88a76f576 /Xamarin.Forms.Platform.Tizen/Native/Span.cs | |
parent | 142b6338bfb707008b25e594f3cb43d69ae86a63 (diff) | |
download | xamarin-forms-7a3f2789d7b687654ed45fc1971a4a4159fe4c51.tar.gz xamarin-forms-7a3f2789d7b687654ed45fc1971a4a4159fe4c51.tar.bz2 xamarin-forms-7a3f2789d7b687654ed45fc1971a4a4159fe4c51.zip |
Support Density Independent Pixel on FontSize
- FontSize on Span was use DP unit
Change-Id: I1a0a50dbeae3ede0c61a67f60f7238631684537d
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Span.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Span.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs index 7ac4134f..0e3f0000 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs @@ -175,7 +175,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native if (FontSize != -1) { - _formattingString.AppendFormat("font_size={0} ", FontSize); + _formattingString.AppendFormat("font_size={0} ", Forms.ConvertToPixel(FontSize)); } if ((FontAttributes & FontAttributes.Bold) != 0) |