From a22ba551cb2d7bf284e98dbb747f216e03c6f4a0 Mon Sep 17 00:00:00 2001
From: Piotr Czaja
Date: Tue, 6 Dec 2016 10:44:49 +0100
Subject: Fix update cell height
Change-Id: Ibd806d1bc819db3a4aee291e28e2b89faf6a3af0
Signed-off-by: Piotr Czaja
---
Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs b/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs
index 3b335c91..1a07dd71 100644
--- a/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs
@@ -6,6 +6,7 @@ namespace Xamarin.Forms.Platform.Tizen
{
public abstract class CellRenderer : IRegisterable
{
+ const string _heightProperty = "Height";
protected static readonly EColor s_defaultTextColor = EColor.Black;
protected static readonly EColor s_defaultBackgroundColor = EColor.White;
readonly Dictionary> _realizedNativeViews = new Dictionary>();
@@ -28,6 +29,10 @@ namespace Xamarin.Forms.Platform.Tizen
protected virtual bool OnCellPropertyChanged(Cell cell, string property, Dictionary realizedView)
{
+ if (property == _heightProperty)
+ {
+ return true;
+ }
return false;
}
--
cgit v1.2.3
| |