title: Why doesn't my FlowDocument use the whole width?
body: <p>I am converting HTML to XAML and loading it in a StackPanel with FlowDocumentScrollViewer. The content is rendering correctly from the HTML. My issue is the content or the FlowDocument does not appear to use the whole width.</p>
  
  <p>The html to xaml conversion looks like this </p>
  
  <pre><code>&lt;FlowDocument xml:space="preserve" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;
  &lt;Paragraph&gt;Central Contractor Registration Is Free It Shouldn't Cost You A Dime &lt;/Paragraph&gt;
  &lt;Paragraph&gt;Central Contractor Registration is free. The federal government does not charge a fee to register your business in the central contractor registration database. I am telling you that central contractor registration is free because there is some confusion out there and I want to [...]  &lt;/Paragraph&gt;
  &lt;/FlowDocument&gt;
  
  Dim conversionhtml As String = "&lt;FlowDocument xml:space=""preserve"" xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""&gt;&lt;Paragraph&gt;Central Contractor Registration Is Free It Shouldn't Cost You A Dime &lt;/Paragraph&gt;&lt;Paragraph&gt;Central Contractor Registration is free. The federal government does not charge a fee to register your business in the central contractor registration database. I am telling you that central contractor registration is free because there is some confusion out there and I want to [...]&lt;/Paragraph&gt;&lt;/FlowDocument&gt;"
  Dim fd As FlowDocument = DirectCast(Markup.XamlReader.Parse(conversionhtml), FlowDocument)
  Dim fdr As New FlowDocumentScrollViewer()
  fdr.Document = fd
  FeedsDisplay.Children.Add(fdr)
  </code></pre>
  
  <p>feedsdisplay is a normal stackpanel. The issue is the flowdocumentscrollviewer uses the whole width but it looks like the flow document only uses about 40 %</p>
  
  <p>What am I overlooking? Thanks in advance!</p>