title: Make QTableWidget expand when dialog window size is changed
body: <p><img src="https://i.stack.imgur.com/H2WSc.jpg" alt="enter image description here">I have a <code>QTableWidget</code>, <code>QTextEdit</code>, and cancel &amp; okay buttons.</p>
  
  <p>I want these widgets to stay in the same position relative to each other, and the <code>QTableWidget</code> to expand if the dialog window is expanded or size changed... </p>
  
  <p>How can I do that? </p>