summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers
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-07-10 11:11:24 +0900
commit07f331195fd38d99939143f42f9af28239ffadc9 (patch)
tree06bf9fca43d4839877464d5b29687ee50cd2d665 /Xamarin.Forms.Platform.Tizen/Renderers
parentad4e38dcaa115d121bc0f1ea08ec37adfd33f4fa (diff)
downloadxamarin-forms-07f331195fd38d99939143f42f9af28239ffadc9.tar.gz
xamarin-forms-07f331195fd38d99939143f42f9af28239ffadc9.tar.bz2
xamarin-forms-07f331195fd38d99939143f42f9af28239ffadc9.zip
Fix Label's default text color behavior
- Do not set default color manually. Change-Id: I2123560e1be18668c432921d1c3009e363a14a11
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-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()