Change the resize policy
[bertos.git] / wizard / BModulePage.py
index ba0db918595a9f6f76df61e4531f31d22a2b27f4..45103e11c8e4fd6a8f6d4cf88312ebd8f8eb5295 100644 (file)
@@ -29,7 +29,7 @@ class BModulePage(BWizardPage):
     
     def _setupUi(self):
         self.pageContent.moduleList.setSortingEnabled(True)
-        self.pageContent.propertyTable.horizontalHeader().setResizeMode(QHeaderView.Stretch)
+        self.pageContent.propertyTable.horizontalHeader().setResizeMode(QHeaderView.ResizeToContents)
         self.pageContent.propertyTable.horizontalHeader().setVisible(False)
         self.pageContent.propertyTable.verticalHeader().setVisible(False)
         self.pageContent.propertyTable.setColumnCount(2)