xamarin-forms-wpf icon indicating copy to clipboard operation
xamarin-forms-wpf copied to clipboard

Improve layout system

Open objorke opened this issue 11 years ago • 1 comments

As described in comment on #1

objorke avatar Sep 25 '14 06:09 objorke

Setting Platform and IsPlatformEnabled on models, trigger the automatic layout system under Xamarin.Forms, requiring renderers to use element.Bounds to position child elements. When those properties are set, calling rootElement.Layout(bounds) will position all elements according to Xamarin.Forms.Core implementation. With this change StackLayoutRenderer is not needed, and Grid will work as expected, without specific implementation.

jvlppm avatar Oct 08 '14 20:10 jvlppm