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

How to center things Vertically in a StackLayout when the orientation is Vertical

$
0
0

Hi, I was wondering how to center things in a StackLayout. I can set the orientation to StackOrientation.Vertical and set the VerticalOptions to LayoutOptions.Center, but the items are only centered horizontally at the top of the screen. How do I have a stack that expands starting in the middle of the device's screen, so that I don't have to hard-code numbers for the padding?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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