summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/Span.cs
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-04-05 13:38:22 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-04-24 13:39:47 +0900
commit725cbc498a4d65e52bc11c85e0c65fc0fefbaddc (patch)
tree8dd380d64f4fe041d76c6ee5ae78e43c5acc5430 /Xamarin.Forms.Platform.Tizen/Native/Span.cs
parent5a32fb063068b59dc1262d5ba68352ce2c1d4b48 (diff)
downloadxamarin-forms-725cbc498a4d65e52bc11c85e0c65fc0fefbaddc.tar.gz
xamarin-forms-725cbc498a4d65e52bc11c85e0c65fc0fefbaddc.tar.bz2
xamarin-forms-725cbc498a4d65e52bc11c85e0c65fc0fefbaddc.zip
Remove VerticalTextAlignment functionality in Label
- EFL dose not support yet - Remove VerticalTextAlignment property in Native.Span it was wrong implemented, valign in EFL is semantically different from Xamarin.Forms VerticalTextAlignment - If provide VerticalTextAlignment API in EFL, this feature need to reimplement Change-Id: I502700db74c7410529e46898578640abbd1253ef
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Span.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Span.cs26
1 files changed, 0 insertions, 26 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
index 99fe008e..2f266494 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs
@@ -95,12 +95,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
public TextAlignment HorizontalTextAlignment { get; set; }
/// <summary>
- /// Gets or sets the vertical alignment mode for the text.
- /// See <see cref="TextAlignment"/> for information about TextAlignment.
- /// </summary>
- public TextAlignment VerticalTextAlignment { get; set; }
-
- /// <summary>
/// Gets or sets the value that indicates whether the text has underline.
/// </summary>
public bool Underline { get; set; }
@@ -123,7 +117,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
ForegroundColor = EColor.Default;
BackgroundColor = EColor.Default;
HorizontalTextAlignment = TextAlignment.None;
- VerticalTextAlignment = TextAlignment.None;
LineBreakMode = LineBreakMode.None;
Underline = false;
Strikethrough = false;
@@ -238,25 +231,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native
break;
}
- switch (VerticalTextAlignment)
- {
- case TextAlignment.Auto:
- case TextAlignment.Start:
- _formattingString.Append("valign=top ");
- break;
-
- case TextAlignment.End:
- _formattingString.Append("valign=bottom ");
- break;
-
- case TextAlignment.Center:
- _formattingString.Append("valign=middle ");
- break;
-
- case TextAlignment.None:
- break;
- }
-
switch (LineBreakMode)
{
case LineBreakMode.NoWrap: