title: Qt QGridLayout automatically centers (moves) items to the middle.
body: <p>I have a <code>QHBoxLayout</code> on my form with 3 layouts added to it. The second one has the items concerning my question.</p>
  
  <p>I have a <code>QVBoxLayout</code> on the second pane of the main layout (the <code>QHBoxLayout</code>).
  This <code>QVBoxLayout</code> has a <code>QScrollArea</code> added to it with <code>addWidget</code>.</p>
  
  <p>This <code>QScrollArea</code> is parent to a <code>QWidget</code> called "scrollContents" which in turn contains a <code>QGridLayout</code>.</p>
  
  <p>I am adding a custom created widget to this <code>QGridLayout</code> which has a fixed height. We can consider this <code>100px</code> for now.</p>
  
  <p>If this <code>QGridLayout</code> has items, of which the total height is less than the form itself, it centers these widgets vertically with same amount of space between them.</p>
  
  <p>If there is one single widget, it appears right in the middle. But I would like them to be listed from top to bottom.</p>
  
  <p>Ex.: [### represents the area of <code>QScrollArea</code> in which there's a <code>QWidget</code> with <strong>the</strong> <code>QGridLayout</code>.</p>
  
  <pre><code>   OK      -&gt;   DESIRED    -&gt; NOT DESIRED AND WHAT HAPPENS
  ##########    ##########               ##########
  # |item| #    # |item| #               #        #
  # |item| #    #        #               #        #
  # |item| #    #        #               #        #
  # |item| #    #        #               # |item| #
  # |item| #    #        #               #        #
  # |item| #    #        #               #        #
  # |item| #    #        #               #        #
  ##########    ##########               ##########
    |item|
    |item| 
    |item|
  </code></pre>
  
  <p>Basically: If there's space for 9 "rows", when a single one item is added it appears in the middle at the location of 5th. If there is 9 or more, they appear as they should. If there is 8 or less, their space in-between is expanded to center them all.</p>
  
  <p>How can I solve this?</p>
  
  <p>Thank you.  </p>