diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-01-24 09:10:19 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-01-24 09:10:19 +0900 |
commit | 5cf9fd44e31da5117095575c6bcfb3dd67fea153 (patch) | |
tree | 62fdc726439ce0ad056a05e272b01ff87a11592b | |
parent | 78d68d44a6e97027d475d67183c52b8c2f043a65 (diff) | |
download | xamarin-forms-5cf9fd44e31da5117095575c6bcfb3dd67fea153.tar.gz xamarin-forms-5cf9fd44e31da5117095575c6bcfb3dd67fea153.tar.bz2 xamarin-forms-5cf9fd44e31da5117095575c6bcfb3dd67fea153.zip |
Fix Span's markup text tag
Change-Id: Ib667d444c4bfe4726298c3befde00d9f093ff107
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Span.cs | 2 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs index f0932f4b..4a5daf3c 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs @@ -137,7 +137,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native sb.Append(GetDecoratedText()); - sb.Append("</>"); + sb.Append("</span>"); return sb.ToString(); } diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index 1fdd7fba..5aa8f780 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -65,8 +65,6 @@ namespace Xamarin.Forms.Platform.Tizen nativeSpan.VerticalTextAlignment = Control.VerticalTextAlignment; nativeSpan.ForegroundColor = span.ForegroundColor.ToNative(); nativeSpan.BackgroundColor = span.BackgroundColor.ToNative(); - - nativeString.Spans.Add(nativeSpan); } |