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

How do I set the Page Width to be less than the full width of the screen?

$
0
0

I'm trying to create a ContentPage that will be used as a menu within the app. I'd like it to be 2/3 of the width of the screen. I've tried setting the WidthRequested value on the ContentPage within the constructor but this doesn't seem to be providing the desired effect.

What am I missing here?

Thanx!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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