[Flex] fix Padding on the FlexLayout (#4823)
authorStephane Delcroix <stephane@delcroix.org>
Fri, 21 Dec 2018 08:23:41 +0000 (09:23 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Dec 2018 08:23:41 +0000 (09:23 +0100)
commitc0dc00089ab238f0c079317c15d5ec96897cc3d5
tree664237d1676170ac710edf81b43ffa9d18145c8c
parenta6088feb810f6fd27041ccc79712150ff708160f
[Flex] fix Padding on the FlexLayout (#4823)

As the flex engine doesn't handle x,y offset on the root layout,
handle that at the XF.FlexLayout level.

- fixes #2663
Xamarin.Forms.Core.UnitTests/FlexLayoutTests.cs
Xamarin.Forms.Core/FlexLayout.cs