summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-08-30 12:12:27 -0600
committerJason Smith <jason.smith@xamarin.com>2016-08-30 11:12:27 -0700
commit1b7250167ff027bbd5ce3d2950a3e3495a13a5f7 (patch)
treebc219a8dada47527b2252fb7a07f8158b6f24701 /Xamarin.Forms.Core
parent0bc22bda64afedbca09416cdccc77ce4ddbe522d (diff)
downloadxamarin-forms-1b7250167ff027bbd5ce3d2950a3e3495a13a5f7.tar.gz
xamarin-forms-1b7250167ff027bbd5ce3d2950a3e3495a13a5f7.tar.bz2
xamarin-forms-1b7250167ff027bbd5ce3d2950a3e3495a13a5f7.zip
Use character truncation in Windows (#321)
Change layout order ViewCells on Windows to correct label length layout issues Add extra layout pass on ViewCell load to make cells without margins visible
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/Layout.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/Layout.cs b/Xamarin.Forms.Core/Layout.cs
index 8c0d1625..87a3453b 100644
--- a/Xamarin.Forms.Core/Layout.cs
+++ b/Xamarin.Forms.Core/Layout.cs
@@ -417,7 +417,7 @@ namespace Xamarin.Forms
bool ShouldLayoutChildren()
{
- if (!LogicalChildrenInternal.Any() || Width <= 0 || Height <= 0 || !IsVisible || !IsNativeStateConsistent || DisableLayout)
+ if (Width <= 0 || Height <= 0 || !LogicalChildrenInternal.Any() || !IsVisible || !IsNativeStateConsistent || DisableLayout)
return false;
foreach (Element element in VisibleDescendants())