Change the resize policy
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 Jan 2009 14:56:25 +0000 (14:56 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 Jan 2009 14:56:25 +0000 (14:56 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2194 38d2e660-2303-0410-9eaa-f027e97ec537

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)