diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-01-24 09:10:19 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-03-24 13:19:01 +0900 |
commit | c97c6c2b8d007a4f2408d95c7825170182cc49c4 (patch) | |
tree | b53dc9d1545d835591ed3738bfcba11f8bc13ad0 /Xamarin.Forms.Platform.Tizen | |
parent | 1b19da7053af39d37bbbfc9d8aeabf52876ac144 (diff) | |
download | xamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.tar.gz xamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.tar.bz2 xamarin-forms-c97c6c2b8d007a4f2408d95c7825170182cc49c4.zip |
Fix Span's markup text tag
Change-Id: Ib667d444c4bfe4726298c3befde00d9f093ff107
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-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); } |