title: A WPF RichTextBox + Button in a StackPanel => what a mess?
body: <p>This code:</p>
  
  <pre><code>&lt;StackPanel Orientation="Horizontal"&gt;
                  &lt;RichTextBox /&gt;
                  &lt;Button Content="Dialog" /&gt;  
              &lt;/StackPanel&gt;
  </code></pre>
  
  <p>shows the button somewhere on the left side of the StackPanel ONTO the RichTextBox, WHY?</p>
  
  <p>edit: Oh I just saw its a width problem. The RTB has nearly no width and the button is righthand of it.</p>
  
  <p>edit: seems I run into this bug: <a href="https://stackoverflow.com/questions/350863/wpf-richtextbox-with-no-width-set">WPF RichTextBox with no width set</a></p>
  
  <p>solution does not work for me!</p>