summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-05-11 13:36:33 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:34 +0900
commit243a2a0c772e222681196a7a6cfb50aca3b20c8c (patch)
treeb9b8d918b7aa57eb8059f37d0a498bfdb6e60586 /Xamarin.Forms.Platform.Tizen
parentac3a742b3a7f6ff92089d662a6d25163979fdd7b (diff)
downloadxamarin-forms-243a2a0c772e222681196a7a6cfb50aca3b20c8c.tar.gz
xamarin-forms-243a2a0c772e222681196a7a6cfb50aca3b20c8c.tar.bz2
xamarin-forms-243a2a0c772e222681196a7a6cfb50aca3b20c8c.zip
Fix Label's default text color behavior
- Do not set default color manually. Change-Id: I2123560e1be18668c432921d1c3009e363a14a11
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
index be5de861..d1d9c96d 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs
@@ -6,9 +6,6 @@ namespace Xamarin.Forms.Platform.Tizen
public class LabelRenderer : ViewRenderer<Label, Native.Label>
{
- static readonly EColor s_defaultBackgroundColor = EColor.Transparent;
- static readonly EColor s_defaultForegroundColor = EColor.Black;
- static readonly EColor s_defaultTextColor = s_defaultForegroundColor;
public LabelRenderer()
{
@@ -79,7 +76,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdateTextColor()
{
- Control.TextColor = Element.TextColor.IsDefault ? s_defaultTextColor : Element.TextColor.ToNative();
+ Control.TextColor = Element.TextColor.ToNative();
}
void UpdateTextAlignment()