title: Python PyQt Setting Scroll Area
body: <p>I am trying to make my <code>QGroupBox</code> scrollable once it grow higher than 400px. The contents in the <code>QGroupBox</code> are generated using a for loop. This is an example of how it was done.</p>
  
  <pre><code>mygroupbox = QtGui.QGroupBox('this is my groupbox')
  myform = QtGui.QFormLayout()
  labellist = []
  combolist = []
  for i in range(val):
      labellist.append(QtGui.QLabel('mylabel'))
      combolist.append(QtGui.QComboBox())
      myform.addRow(labellist[i],combolist[i])
  mygroupbox.setLayout(myform)
  </code></pre>
  
  <p>Since the value of <code>val</code> depends on some other factors, the <code>myform</code> layout size could not be determined. In order to solve this, i added a <code>QScrollableArea</code> like this.</p>
  
  <pre><code>scroll = QtGui.QScrollableArea()
  scroll.setWidget(mygroupbox)
  scroll.setWidgetResizable(True)
  scroll.setFixedHeight(400)
  </code></pre>
  
  <p>Unfortunately, that doesn't seems to make any effect on the groupbox. No sign of scrollbar. Am i missing somthing?</p>