Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -32,13 +32,16 @@
         self.setupUi(self)
         
         self.realmLabel.setText(
-            self.trUtf8("<b>Enter login data for realm {0}.</b>")
+            self.tr("<b>Enter login data for realm {0}.</b>")
             .format(realm))
         self.usernameEdit.setText(username)
         self.saveCheckBox.setEnabled(may_save)
         if not may_save:
             self.saveCheckBox.setChecked(False)
         
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
+        
     def getData(self):
         """
         Public method to retrieve the login data.

eric ide

mercurial