Closed zjxeditor closed 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.
avatar.Width().EqualTo().HeightOf(avatar)
Oh, I am too stupid, lol ~~~
Thanks, Diego! :smile:
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.