diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Span.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Span.cs | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs index 41a20b7d..50d596a4 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs @@ -121,9 +121,9 @@ namespace Xamarin.Forms.Platform.Tizen.Native FontAttributes = FontAttributes.None; ForegroundColor = EColor.Default; BackgroundColor = EColor.Default; - HorizontalTextAlignment = TextAlignment.Auto; - VerticalTextAlignment = TextAlignment.Auto; - LineBreakMode = LineBreakMode.MixedWrap; + HorizontalTextAlignment = TextAlignment.None; + VerticalTextAlignment = TextAlignment.None; + LineBreakMode = LineBreakMode.None; Underline = false; Strikethrough = false; } @@ -264,6 +264,9 @@ namespace Xamarin.Forms.Platform.Tizen.Native case TextAlignment.Center: _formattingString.Append("align=center "); break; + + case TextAlignment.None: + break; } switch (VerticalTextAlignment) @@ -280,6 +283,9 @@ namespace Xamarin.Forms.Platform.Tizen.Native case TextAlignment.Center: _formattingString.Append("valign=middle "); break; + + case TextAlignment.None: + break; } switch (LineBreakMode) @@ -311,6 +317,9 @@ namespace Xamarin.Forms.Platform.Tizen.Native case LineBreakMode.TailTruncation: _formattingString.Append("ellipsis=1.0"); break; + + case LineBreakMode.None: + break; } return _formattingString; |