diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-01-24 09:10:19 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-02-03 13:28:06 +0900 |
commit | 824d0e2fd8a6826094e8aec1b47deef06bdf4a38 (patch) | |
tree | d17b5fbe1ba666e09566e42d47a6f30355ea39ff | |
parent | a9d23afd261cb05f61f9d756829d46c7de9e093f (diff) | |
download | xamarin-forms-824d0e2fd8a6826094e8aec1b47deef06bdf4a38.tar.gz xamarin-forms-824d0e2fd8a6826094e8aec1b47deef06bdf4a38.tar.bz2 xamarin-forms-824d0e2fd8a6826094e8aec1b47deef06bdf4a38.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); } |