diff options
author | Rui Marinho <me@ruimarinho.net> | 2017-06-14 23:58:03 +0100 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2017-06-14 15:58:03 -0700 |
commit | ec5492cd0da754bb372961a30170b7d3ce165ac2 (patch) | |
tree | 6c116878a05f92f806727e3b26d7b1aaaed13f31 /Xamarin.Forms.Platform.iOS | |
parent | 02c93b6b995d0bc775109466c4b9784c8d25171e (diff) | |
download | xamarin-forms-ec5492cd0da754bb372961a30170b7d3ce165ac2.tar.gz xamarin-forms-ec5492cd0da754bb372961a30170b7d3ce165ac2.tar.bz2 xamarin-forms-ec5492cd0da754bb372961a30170b7d3ce165ac2.zip |
[iOS,Android] Fix gap when setting Separator None and recycle element and on Android when using grouping (#949)
* [Controls] Add repo for bugzilla 39802
* [iOS] Make ContextCell hide the gap when we aren't using a separator
* [Controls] Update test
* [iOS] Only fix height if separator is hidden.
* [iOS] Only fix if it's a ListiView
* [Android] Fix separator showing when using Grouping
* Update Bugzilla39802.cs
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/ContextActionCell.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/ContextActionCell.cs b/Xamarin.Forms.Platform.iOS/ContextActionCell.cs index 4ff7f87c..d5821913 100644 --- a/Xamarin.Forms.Platform.iOS/ContextActionCell.cs +++ b/Xamarin.Forms.Platform.iOS/ContextActionCell.cs @@ -127,7 +127,7 @@ namespace Xamarin.Forms.Platform.iOS ((INotifyCollectionChanged)cell.ContextActions).CollectionChanged += OnContextItemsChanged; } - var height = Frame.Height; + var height = Frame.Height + (parentListView != null && parentListView.SeparatorVisibility == SeparatorVisibility.None ? 0.5f : 0f); var width = ContentView.Frame.Width; nativeCell.Frame = new RectangleF(0, 0, width, height); |