summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Native/Label.cs5
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Native/Span.cs10
2 files changed, 9 insertions, 6 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Label.cs b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
index 8d095363..b508b21e 100644..100755
--- a/Xamarin.Forms.Platform.Tizen/Native/Label.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
@@ -235,10 +235,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
IsEllipsis = true;
break;
}
- if (IsEllipsis || previousMode >= LineBreakMode.HeadTruncation)
- {
- ApplyTextAndStyle();
- }
+ ApplyTextAndStyle();
}
}
}
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index 3b410ba1..3ffea252 100644..100755
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -244,12 +244,18 @@ namespace Xamarin.Forms.Platform.Tizen.Native
case LineBreakMode.TailTruncation:
_formattingString.Append("ellipsis=1.0");
break;
-
- case LineBreakMode.NoWrap:
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:
case LineBreakMode.None:
+ _formattingString.Append("wrap=none");
break;
}