Fixed a window sizing issue. release-3.3.6

Sat, 12 Apr 2014 19:33:04 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Apr 2014 19:33:04 +0200
changeset 44
ae62ba409285
parent 43
a777247ac5c2
child 45
a87237165f18

Fixed a window sizing issue.

PluginProjectDjango.py file | annotate | diff | comparison | revisions
PluginProjectDjango.zip file | annotate | diff | comparison | revisions
ProjectDjango/DjangoDumpdataDataDialog.py file | annotate | diff | comparison | revisions
ProjectDjango/DjangoLoaddataDataDialog.py file | annotate | diff | comparison | revisions
--- a/PluginProjectDjango.py	Sun Mar 09 17:59:30 2014 +0100
+++ b/PluginProjectDjango.py	Sat Apr 12 19:33:04 2014 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "3.3.5"
+version = "3.3.6"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
Binary file PluginProjectDjango.zip has changed
--- a/ProjectDjango/DjangoDumpdataDataDialog.py	Sun Mar 09 17:59:30 2014 +0100
+++ b/ProjectDjango/DjangoDumpdataDataDialog.py	Sat Apr 12 19:33:04 2014 +0200
@@ -42,6 +42,9 @@
             self.formatCombo.addItem(self.trUtf8("YAML"), "yaml")
         except ImportError:
             pass
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     def getData(self):
         """
--- a/ProjectDjango/DjangoLoaddataDataDialog.py	Sun Mar 09 17:59:30 2014 +0100
+++ b/ProjectDjango/DjangoLoaddataDataDialog.py	Sat Apr 12 19:33:04 2014 +0200
@@ -36,6 +36,9 @@
         self.__project = project
         
         self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     @pyqtSlot(str)
     def on_fixturesEdit_textChanged(self, txt):

eric ide

mercurial