FluentLayout / Cirrious.FluentLayout

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

Width equal to height #30

Closed zjxeditor closed 8 years ago

zjxeditor commented 8 years ago

Hi, how can we make a square constraint? In other words, a control's or view's width equal to its own height. I don't find any code to make it in the source code.

xleon commented 8 years ago
avatar.Width().EqualTo().HeightOf(avatar)
zjxeditor commented 8 years ago

Oh, I am too stupid, lol ~~~

gshackles commented 8 years ago

Thanks, Diego! :smile: