title: Vertical text align on side menu xamarin.forms
body: <p>I have been trying to centralize the text- "Hello Janine Alexander" on this side menu but to no avail. I have tried YAlign="Center" and also VerticalTextAlignment="Center" but neither have moved it even an inch down. Any help will be appreciated. I do think its in the navigation bar resulting in it not moving vertically down.How do i fix this</p>
  
  <p><a href="https://i.stack.imgur.com/FBGTk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FBGTk.png" alt="enter image description here"></a></p>
  
  <p>Here is the complete xaml code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               x:Class="loyaltyworx1.Profile"&gt;
  
      &lt;MasterDetailPage.Master&gt;
          &lt;ContentPage Title="Menu"
                   BackgroundColor="#2196F3"&gt;
  
              &lt;StackLayout Orientation="Vertical"&gt;
  
                  &lt;Label x:Name="lblMessage" FontSize="Medium" HorizontalOptions="Center" TextColor="White" /&gt;
  
                  &lt;!-- 
               This StackLayout you can use for other
               data that you want to have in your menu drawer
          --&gt;
                  &lt;StackLayout BackgroundColor="#2196F3"
                       HeightRequest="150"&gt;
  
                      &lt;Label Text=""
                   FontSize="20"
                   VerticalOptions="CenterAndExpand"
                   TextColor="White"
                   HorizontalOptions="Center"/&gt;
                  &lt;/StackLayout&gt;
  
                  &lt;ListView x:Name="navigationDrawerList"
                    RowHeight="60"
                    SeparatorVisibility="None"
                    BackgroundColor="White"
                    ItemSelected="OnMenuItemSelected"&gt;
  
                      &lt;ListView.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;ViewCell&gt;
  
                                  &lt;!-- Main design for our menu items --&gt;
                                  &lt;StackLayout VerticalOptions="FillAndExpand"
                               Orientation="Horizontal"
                               Padding="20,10,0,10"
                               Spacing="20"&gt;
  
                                      &lt;Image Source="{Binding Icon}"
                           WidthRequest="40"
                           HeightRequest="40"
                           VerticalOptions="Center"
                                             /&gt;
  
                                      &lt;Label Text="{Binding Title}"
                           FontSize="Medium"
                           VerticalOptions="Center"
                           TextColor="#343f42"/&gt;
                                  &lt;/StackLayout&gt;
                              &lt;/ViewCell&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListView.ItemTemplate&gt;
                  &lt;/ListView&gt;
              &lt;/StackLayout&gt;
  
          &lt;/ContentPage&gt;
      &lt;/MasterDetailPage.Master&gt;
  
      &lt;MasterDetailPage.Detail&gt;
          &lt;NavigationPage&gt;
  
          &lt;/NavigationPage&gt;
      &lt;/MasterDetailPage.Detail&gt;
  &lt;/MasterDetailPage&gt;
  </code></pre>