title: Two Rows in a Horizontal Stack Panel? (WPF)
body: <p>I have this stack panel (contains four fractions):</p>
  
  <p><img src="https://i.stack.imgur.com/NxK6I.jpg" alt="enter image description here"></p>
  
  <p>(Fractions are just text with new lines and hyphens.) If I add a fifth fraction, it'll go to the right of 10/12, instead of forming a second row.</p>
  
  <p>How do I configure my StackPanel so that it'll overflow into a second row (and stay within the bounds of the StackPanel) instead of overflowing invisibly?</p>
  
  <p>Markup:</p>
  
  <pre><code>&lt;StackPanel Name="_fractionContainer" Width="700" Height="600"
        Orientation="Horizontal" Margin="8, 8, 8, 8" Background="White" /&gt;  
  </code></pre>