Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to get expected length in RelativeLayout

$
0
0

I am on developing something like a tag view in Xamarin.Forms, using the RelativeLayout. I have multiple elements that I want to put side-by-side until an element is not completely fitting to the parent. Then I want to put this to the next line. Here is my problem: Within the lambda for the RelativeToView constraint I don't have the current element (supposedly it is not rendered) and therefore I cannot calculate the expected size to make this decision.

How can I solve this problem?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>