diff options
author | Mariia Borowiec <m.borowiec2@samsung.com> | 2017-04-06 12:07:56 +0200 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:27 +0900 |
commit | 941d34a10a761d3d8514d633a62b8471b9fdefec (patch) | |
tree | 9828e29b309849a6ce3cef1fa9f4d3dd6d219845 | |
parent | e1035023502398228408f70487a47886432d94af (diff) | |
download | xamarin-forms-941d34a10a761d3d8514d633a62b8471b9fdefec.tar.gz xamarin-forms-941d34a10a761d3d8514d633a62b8471b9fdefec.tar.bz2 xamarin-forms-941d34a10a761d3d8514d633a62b8471b9fdefec.zip |
Add handling of the font path
Change-Id: Ie6f07d2239cbfb1949ce4b43c55ff43f2f345703
Signed-off-by: Mariia Borowiec <m.borowiec2@samsung.com>
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/FormsApplication.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs index 57d14223..471ee758 100644 --- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs +++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs @@ -8,6 +8,8 @@ using EButton = ElmSharp.Button; using EProgressBar = ElmSharp.ProgressBar; using EColor = ElmSharp.Color; using ELabel = ElmSharp.Label; +using TApplication = Tizen.Applications.Application; +using System.IO; namespace Xamarin.Forms.Platform.Tizen { @@ -48,6 +50,9 @@ namespace Xamarin.Forms.Platform.Tizen base.OnPreCreate(); Application.ClearCurrent(); CreateWindow(); + + var path = Path.Combine(TApplication.Current.DirectoryInfo.Resource, "fonts"); + Utility.AppendGlobalFontPath(path); } protected override void OnTerminate() |