title: LongListSelector centered items unexpected position change
body: <p>I have a LongListSelector control on a page in my Windows Phone 8 app. For this control I set a GroupHeaderTemplate and a ItemTemplate and both contain a TextBlock. If I align the TextBlock controls to center I have some weird behavior (maybe not weird but unexplainable to me at the moment). When I open the page on my phone the centered text moves ca. 5px to the right. The move is visible to the user (it's happening after the page is loaded). I tried to solve this problem but all margin changes (and other trials) did not change the behavior and my friend Google couldn't help me either. Can some explain to my why this is happening and how to solve this?</p>
  
  <p>My code (simplified):</p>
  
  <pre><code>&lt;Grid x:Name="ContentPanel" Grid.Row="1" Margin="0"&gt;
          &lt;phone:LongListSelector x:Name="longList" LayoutMode="List" HideEmptyGroups ="true" Margin="5,0,5,5" ItemsSource="{Binding List, Mode=OneWay}" IsGroupingEnabled="True" Background="Transparent" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
              &lt;phone:LongListSelector.Resources&gt;
                  &lt;DataTemplate x:Key="itemTemplate"&gt;
                      &lt;Grid Margin="10,10,10,0" Background="#FFF3F1F1" HorizontalAlignment="Left"&gt;
                          &lt;TextBlock x:Name="name" Margin="10" TextWrapping="NoWrap" Text="{Binding Name}" VerticalAlignment="Center" FontSize="40"/&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
                  &lt;DataTemplate x:Key="groupHeaderTemplate"&gt;
                      &lt;Grid Margin="10,10,10,0" Background="#FFF3F1F1" HorizontalAlignment="Center"&gt;
                          &lt;TextBlock x:Name="name" Margin="10" TextWrapping="NoWrap" Text="test" VerticalAlignment="Center" FontSize="40"/&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/phone:LongListSelector.Resources&gt;
              &lt;!--&lt;phone:LongListSelector.JumpListStyle&gt;
                  &lt;StaticResource ResourceKey="jumpListStyle"/&gt;
              &lt;/phone:LongListSelector.JumpListStyle&gt;--&gt;
              &lt;phone:LongListSelector.GroupHeaderTemplate&gt;
                  &lt;StaticResource ResourceKey="groupHeaderTemplate"/&gt;
              &lt;/phone:LongListSelector.GroupHeaderTemplate&gt;
              &lt;phone:LongListSelector.ItemTemplate&gt;
                  &lt;StaticResource ResourceKey="itemTemplate"/&gt;
              &lt;/phone:LongListSelector.ItemTemplate&gt;
              &lt;i:Interaction.Triggers&gt;
                  &lt;i:EventTrigger EventName="SelectionChanged"&gt;
                      &lt;i:InvokeCommandAction Command="{Binding SelectItemCommand}"
                          CommandParameter="{Binding SelectedItem, ElementName=longList}"/&gt;
                  &lt;/i:EventTrigger&gt;
              &lt;/i:Interaction.Triggers&gt;
          &lt;/phone:LongListSelector&gt;
      &lt;/Grid&gt;
  </code></pre>
  
  <p>Thanks in advance</p>