summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-24 09:10:19 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-01-24 09:10:19 +0900
commit5cf9fd44e31da5117095575c6bcfb3dd67fea153 (patch)
tree62fdc726439ce0ad056a05e272b01ff87a11592b
parent78d68d44a6e97027d475d67183c52b8c2f043a65 (diff)
downloadxamarin-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.cs2
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs2
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);
}