title: Why is this button cut off?
body: <p>In the following XAML code the button text is half missing. I can change the <code>Margin</code> property and it becomes obvious that after 250px the content is hidden. Why is that, and how can I fix it?</p>
  
  <pre><code>&lt;Window x:Class="InnerInterface.InventoryManagement" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="someWindow" Height="500" Width="500"&gt;
      &lt;DockPanel HorizontalAlignment="Left" Name="dockPanel1" VerticalAlignment="Top"&gt;
          &lt;Grid DockPanel.Dock="Top"&gt;
              &lt;Button Name="buttonReturnToMainMenu" Content="someButton" Margin="200,0" Width="125" /&gt;
          &lt;/Grid&gt;
      &lt;/DockPanel&gt;
  &lt;/Window&gt;
  </code></pre>