summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Czaja <p.czaja@samsung.com>2016-12-06 10:44:49 +0100
committerPiotr Czaja <p.czaja@samsung.com>2016-12-07 07:33:30 +0100
commita22ba551cb2d7bf284e98dbb747f216e03c6f4a0 (patch)
treea76d7f7f91c76994ada5b1258c0829a018ffa79e
parent7764b05054ba0dd20d0a1961fb77e30618c578d6 (diff)
downloadxamarin-forms-a22ba551cb2d7bf284e98dbb747f216e03c6f4a0.tar.gz
xamarin-forms-a22ba551cb2d7bf284e98dbb747f216e03c6f4a0.tar.bz2
xamarin-forms-a22ba551cb2d7bf284e98dbb747f216e03c6f4a0.zip
Fix update cell height
Change-Id: Ibd806d1bc819db3a4aee291e28e2b89faf6a3af0 Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
-rw-r--r--Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs5
1 files changed, 5 insertions, 0 deletions
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<Cell, Dictionary<string, EvasObject>> _realizedNativeViews = new Dictionary<Cell, Dictionary<string, EvasObject>>();
@@ -28,6 +29,10 @@ namespace Xamarin.Forms.Platform.Tizen
protected virtual bool OnCellPropertyChanged(Cell cell, string property, Dictionary<string, EvasObject> realizedView)
{
+ if (property == _heightProperty)
+ {
+ return true;
+ }
return false;
}