diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs b/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs index 096c1689..e66db635 100644 --- a/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Cells/CellRenderer.cs @@ -1,6 +1,5 @@ using ElmSharp; using System.Collections.Generic; -using EColor = ElmSharp.Color; namespace Xamarin.Forms.Platform.Tizen { @@ -58,14 +57,14 @@ namespace Xamarin.Forms.Platform.Tizen return null; } - protected int FindCellContentHeight(Cell cell) + protected double FindCellContentHeight(Cell cell) { ViewCell viewCell = cell as ViewCell; if (viewCell != null) { var parentWidth = (cell.Parent as VisualElement).Width; var view = viewCell.View; - return (int)view.Measure(parentWidth, double.PositiveInfinity).Request.Height; + return view.Measure(parentWidth, double.PositiveInfinity).Request.Height; } else return -1; |