summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjh5.cho <jh5.cho@samsung.com>2017-07-26 06:37:25 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:39 (GMT)
commit3d6ddea826240b7f7fe2af5161b031ed3f055793 (patch)
tree8a433ea98a4f38d106cece25702adbdcc52e97b0
parent2d3478a3f2deb0e30a90667ff8a71eae7285c002 (diff)
downloadxamarin-forms-3d6ddea826240b7f7fe2af5161b031ed3f055793.zip
xamarin-forms-3d6ddea826240b7f7fe2af5161b031ed3f055793.tar.gz
xamarin-forms-3d6ddea826240b7f7fe2af5161b031ed3f055793.tar.bz2
Remove repeated line wrap set
- TASK=TCAPI-2605 - Remove setting wrap style at Span to prevent repeated setting for line break mode Change-Id: I634cbefeec0cd48b5b4c4b3b8418fa8dce60bd48
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Native/Label.cs1
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Span.cs17
2 files changed, 0 insertions, 18 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Label.cs b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
index 3c50073..c9c7c64 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Label.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
@@ -210,7 +210,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
{
if (value != _span.LineBreakMode)
{
- var previousMode = _span.LineBreakMode;
_span.LineBreakMode = value;
switch(value)
{
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index cf5299f..fd1ef85 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -244,23 +244,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
case LineBreakMode.TailTruncation:
_formattingString.Append("ellipsis=1.0");
break;
-
- case LineBreakMode.CharacterWrap:
- _formattingString.Append("wrap=char");
- break;
-
- case LineBreakMode.WordWrap:
- _formattingString.Append("wrap=word");
- break;
-
- case LineBreakMode.MixedWrap:
- _formattingString.Append("wrap=mixed");
- break;
-
- case LineBreakMode.NoWrap:
- _formattingString.Append("wrap=none");
- break;
-
case LineBreakMode.None:
break;
}