title: How do I make a WPF TextBlock show my text on multiple lines?
body: <p>i have a wpf window where i have a stackpanel with two viewports in it - each Viewport with a textblock in it.</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;StackPanel VerticalAlignment="Center" Orientation="Vertical" &gt;
          &lt;Viewbox Margin="100,0,100,0"&gt;
              &lt;TextBlock x:Name="headerText" Text="Lorem ipsum dolor" Foreground="Black"/&gt;
          &lt;/Viewbox&gt;
          &lt;Viewbox Margin="150,0,150,0"&gt;
              &lt;TextBlock x:Name="subHeaderText" Text="Lorem ipsum dolor, Lorem ipsum dolor, lorem isum dolor, Lorem ipsum dolor, Lorem ipsum dolor, lorem isum dolor, " TextWrapping="Wrap" Foreground="Gray" /&gt;
          &lt;/Viewbox&gt;
      &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>What i would like to achieve is that the top textblock is the heading with a bigger text. The second textblock is the sub heading with a smaller text. No matter how much text there is for either the heading or the subheading the font should dynamic become smaller/bigger. My problem is that i would like the subheading to be fixed width. This means that, the font should be a percentage  (70%) of the heading and wrap to multiple lines, depending on how much text i have. I enclosed the code I have thus far... im missing something with that subheading, cant figure out what. Cheers</p>
  
  <p><strong>Edit</strong>
  Basically what i want achieve is that the sub header wraps the text so it can expand it downwards with the font being a 70% of the heading - no matter how big that font is.</p>