title: Content alignment in label WPF
body: <p>i have a small problem with the alignment of my text in a label</p>
  
  <p>this is my xaml code</p>
  
  <pre><code>&lt;GroupBox Header="Normal" Width="450" Height="150" Name="grpNormal"&gt;
      &lt;Canvas Name="cvsNormal" Width="440" Height="140"&gt;
          &lt;Label Name="lblStartRegNormal" Width="223" Content="Enter the starting reg number: " FontSize="16" Canvas.Left="2" Canvas.Top="15" HorizontalContentAlignment="Right" /&gt;
          &lt;TextBox Name="txtStartRegNormal" Height="40" Width="200" Canvas.Right="10" Canvas.Top="15"/&gt;
          &lt;Label Name="lblEndRegNormal" Width="223" Content="Enter the ending reg number: " FontSize="16" Canvas.Left="5" Canvas.Top="65" HorizontalContentAlignment="Right"/&gt;
          &lt;TextBox Name="txtEndRegNormal" Height="40" Width="200" Canvas.Right="10" Canvas.Top="65"/&gt;
      &lt;/Canvas&gt;
  &lt;/GroupBox&gt;
  </code></pre>
  
  <p>here is the output</p>
  
  <p><img src="https://i.stack.imgur.com/VQfpq.jpg" alt="enter image description here"></p>
  
  <p>but when i change my label content, the colons on the right side are not aligned</p>
  
  <p><img src="https://i.stack.imgur.com/i0FI0.jpg" alt="enter image description here"></p>
  
  <p>What am i doing wrong here?</p>