title: TextBlock does not show all text
body: <p>The problem I have with TextBlock is that it sometimes cuts off text. The image below is the output of the xaml below it. The first TextBlock should contain Défi maximum, but the last m is cut off. I get it to reappear when I  change part of the style, but I need it to be exactly like this. What could be the cause of this?</p>
  
  <p>As you can see the TextBlock has enough space, the margin around the TextBlock is blue in the image below. The second TextBlock has an extra character which causes the TextBlock to show the text correctly. (even though there is a spelling error in it ;-) )</p>
  
  <p><a href="https://i.stack.imgur.com/vsXNC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vsXNC.png" alt="Valid XHTML"></a>
  </p>
  
  <pre><code>&lt;Window.Resources&gt;
      &lt;Style TargetType="TextBlock"&gt;
          &lt;Setter Property="FontFamily" Value="Candara"/&gt;
          &lt;Setter Property="FontSize" Value="13"/&gt;
          &lt;Setter Property="FontWeight" Value="Regular"/&gt;
          &lt;Setter Property="Padding" Value="5"/&gt;
          &lt;Setter Property="Background" Value="Red"/&gt;
          &lt;Setter Property="TextWrapping" Value="Wrap"/&gt;
          &lt;Setter Property="TextAlignment"  Value="Center"/&gt;
          &lt;Setter Property="HorizontalAlignment" Value="Center"/&gt;
          &lt;Setter Property="VerticalAlignment" Value="Center"/&gt;
          &lt;Setter Property="Margin" Value="0"/&gt;
      &lt;/Style&gt;
  
      &lt;Style TargetType="Grid"&gt;
          &lt;Setter Property="Width" Value="87"/&gt;
          &lt;Setter Property="Height" Value="87"/&gt;
          &lt;Setter Property="Background" Value="Blue"/&gt;
          &lt;Setter Property="Margin" Value="1"/&gt;
      &lt;/Style&gt;
  &lt;/Window.Resources&gt;
  
  &lt;StackPanel Orientation="Horizontal"&gt;
      &lt;Grid&gt;
          &lt;TextBlock&gt;Défi maximum&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid&gt;
          &lt;TextBlock&gt;Défi maximume&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid&gt;
          &lt;TextBlock&gt;3x10&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid&gt;
          &lt;TextBlock&gt;4x10&lt;/TextBlock&gt;
      &lt;/Grid&gt;
  &lt;/StackPanel&gt;
  </code></pre>