FluentLayout / Cirrious.FluentLayout

FluentLayout for Xamarin.iOS - sample uses MvvmCross
Microsoft Public License
148 stars 54 forks source link

FullSizeOf() #28

Closed xleon closed 8 years ago

xleon commented 8 years ago
View.AddConstraints(box1.FullSizeOf(View, 20));
View.AddConstraints(box2.FullSizeOf(box1, new Margins(10, 30)));
View.AddConstraints(box3.FullSizeOf(box2, 5));
View.AddConstraints(box4.FullSizeOf(box3, new Margins(20, 40, 50, 10, 0, 0)));
View.AddConstraints(box5.FullSizeOf(box4, 10));

I created a sample in the QuickLayout project (with animation) animation

xleon commented 8 years ago

Just realized this extension method should assign identifiers like VerticalStackPanel does. Please, don´t merge it yet