diff options
author | chungryeol lim <cdark.lim@samsung.com> | 2017-01-24 11:30:22 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:18 +0900 |
commit | f65fa0d4b5f601295ab87b1cc82b1c6b0ee1ed29 (patch) | |
tree | 402d4f1bd6f3723e2afb12ef8eae24e7ffa1a15d /Xamarin.Forms.Platform.Tizen/Renderers | |
parent | c3f6ed1cfd0854d8639e44d146420d5afc9ae763 (diff) | |
download | xamarin-forms-f65fa0d4b5f601295ab87b1cc82b1c6b0ee1ed29.tar.gz xamarin-forms-f65fa0d4b5f601295ab87b1cc82b1c6b0ee1ed29.tar.bz2 xamarin-forms-f65fa0d4b5f601295ab87b1cc82b1c6b0ee1ed29.zip |
Fixd Label.HorizontalTextAlignment issue
Change-Id: Id77f1d65d8e6c346b31be011759de7f9fd1dfe3f
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-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(); } } |