title: How do I add dynamic spacing between controls? (with pics)
body: <p>My question is simple. What is the best way to achieve what you see the pic below in WPF?</p>
  
  <p>At the moment this is a horizontal StackPanel, with the right padding of the checkbox set to 90. This works okay, but if you resize the window it's no good anymore, unless maybe you re-adjust the padding in the window's resize event, but that seems clunky when using a layout manager.</p>
  
  <p>I am coming from a Qt background, and in Qt I would use a "stretch" element between the buttons and the checkbox to push them apart dynamically. Is there a similar concept in WPF? If not, how do I achieve this so that it will support dynamic resizing?</p>
  
  <p><img src="https://i209.photobucket.com/albums/bb277/bresson29/details_two.png" alt="alt text"></p>
  
  <p>Thanks! </p>