title: Resize buttons in different layouts of Qt form
body: <p>Sorry for bad english. I have 2 horizontal layouts with buttons and text edits and a grid layout with buttons. Form has vertical layout. I need buttons with text edits resize vertically same as buttons in grid layout. Now I can make only one of the parts of form resize: when buttons in horizontal layouts have size policy expanding, grid layout does not resize, otherwise only grid layout resizes.  </p>
  
  <p><strong>Screenshots</strong></p>
  
  <p><a href="https://i.stack.imgur.com/TPfesm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TPfesm.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/FaXHMm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FaXHMm.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SESMjm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SESMjm.png" alt="enter image description here"></a></p>
  
  <p><a href="https://drive.google.com/open?id=0B-5xAmgweyd_Q0pqLTV5QVVVSUU" rel="nofollow noreferrer">mainwindow.ui file</a>  </p>