diff options
-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(); } } |