title: How to equally distribute the width of QSplitter
body: <p>I have a problem with adjusting width of <code>QSplitter</code>. I prepared UI in Qt Designer and it looks now like that:</p>
  
  <p><strong>Designer view</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/9FF82m.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9FF82m.png" alt="enter image description here"></a></p>
  
  <p>And here is my <strong>object inspector</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/qa3uJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qa3uJ.png" alt="enter image description here"></a></p>
  
  <p>My question is how to divide the width of <code>QSplitter</code> equally over the left and right area. I would like to get this effect as initial size and then the customer can do whatever he wants. </p>
  
  <p><strong>Effect which I would like to have is the following:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/QBTHCm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QBTHCm.png" alt="enter image description here"></a></p>
  
  <p>In other worlds, I am looking for a way to specify the splitter initial division of left and right area as 50%/50% of window width. Is there any option to obtain that? </p>
  
  <p>Thank you for your help and please be forgiving, I have just started to learn Qt.</p>