Commits

Brendan Howell  committed 607811d

finally fixed layout for help browser

  • Participants
  • Parent commits 0b709db

Comments (0)

Files changed (1)

File mainwindow.py

         
         helpbrowser.setMinimumWidth(400)
         helpbrowser.setMinimumHeight( self.helpwindow.height())
-        sizepolicy = helpbrowser.sizePolicy()
-        sizepolicy.setVerticalPolicy(QtGui.QSizePolicy.MinimumExpanding)
-        sizepolicy.setHorizontalPolicy(QtGui.QSizePolicy.MinimumExpanding)
+        self.helpwindow.setWidget(helpbrowser)
 
         #sizepolicy = self.helpwindow.sizePolicy()
         #sizepolicy.setVerticalStretch(QtGui.QSizePolicy.Expanding)