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

Force RelativeLayout Size

$
0
0

Hi!

I'm trying to create cross-platform scrollview with the ability of zooming and panning its content.

I'm using a RelativeLayout as the content since I want to set the absolute positions of every component inside it (regarding if they fit or don't inside the screen).

The only issue I'm having is that I can't force the size of the RelativeLayout to fit my content, which overflows the screen.

Is this possible? I tried many things (like overriding OnSizeRequest, adding a WidthRequest, etc), but nothing seems to work.

Thanks!
Juli


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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