diff options
author | chungryeol lim <cdark.lim@samsung.com> | 2017-01-24 11:30:22 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-10-23 13:34:28 +0900 |
commit | d9da80aa4d37493e69a7a4fb2e0e2872fda40270 (patch) | |
tree | bacede8b19196ef8dd7839b293f712cb4debaa29 | |
parent | c9dc8be33e7a256ae2090577e35a5f9ea98cfc50 (diff) | |
download | xamarin-forms-d9da80aa4d37493e69a7a4fb2e0e2872fda40270.tar.gz xamarin-forms-d9da80aa4d37493e69a7a4fb2e0e2872fda40270.tar.bz2 xamarin-forms-d9da80aa4d37493e69a7a4fb2e0e2872fda40270.zip |
Fixd Label.HorizontalTextAlignment issue
Change-Id: Id77f1d65d8e6c346b31be011759de7f9fd1dfe3f
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index 5aa8f780..9f4157ed 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -62,6 +62,7 @@ namespace Xamarin.Forms.Platform.Tizen nativeSpan.FontFamily = span.FontFamily; nativeSpan.FontSize = span.FontSize; nativeSpan.LineBreakMode = Control.LineBreakMode; + nativeSpan.HorizontalTextAlignment = Control.HorizontalTextAlignment; nativeSpan.VerticalTextAlignment = Control.VerticalTextAlignment; nativeSpan.ForegroundColor = span.ForegroundColor.ToNative(); nativeSpan.BackgroundColor = span.BackgroundColor.ToNative(); @@ -88,6 +89,7 @@ namespace Xamarin.Forms.Platform.Tizen { foreach (var span in Control.FormattedText.Spans) { + span.HorizontalTextAlignment = Element.HorizontalTextAlignment.ToNative(); span.VerticalTextAlignment = Element.VerticalTextAlignment.ToNative(); } } |