title: QSplitter with one fixed size widget and one variable size widget?
body: <p>Is it possible to have a <code>QSplitter</code> which has one widget of a fixed size and the other with a variable size?</p>
  
  <p>This code sets things right, but when the window is resized the splitter changes proportionally to the initial widgets sizes:  </p>
  
  <pre><code>vSplitter = new QSplitter(Qt::Vertical, this);
  vSplitter-&gt;addWidget(widget1);
  vSplitter-&gt;addWidget(widget2);
  QList&lt;int&gt; heights;
  heights.push_back(550);
  heights.push_back(1000);
  vSplitter-&gt;setSizes(heights);
  
  setCentralWidget(vSplitter);
  </code></pre>
  
  <p>Thank you.</p>