Corrected the shown size of the path picker dialog. eric7

Sun, 11 Sep 2022 18:32:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 11 Sep 2022 18:32:12 +0200
branch
eric7
changeset 9322
3f0fe9a79aa1
parent 9321
3cca871d0be1
child 9323
6ae7193558ac

Corrected the shown size of the path picker dialog.

src/eric7/EricWidgets/EricPathPickerDialog.py file | annotate | diff | comparison | revisions
--- a/src/eric7/EricWidgets/EricPathPickerDialog.py	Sun Sep 11 15:01:31 2022 +0200
+++ b/src/eric7/EricWidgets/EricPathPickerDialog.py	Sun Sep 11 18:32:12 2022 +0200
@@ -47,6 +47,9 @@
         self.__buttonBox.accepted.connect(self.accept)
         self.__buttonBox.rejected.connect(self.reject)
 
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
+
     def setLabelText(self, text):
         """
         Public method to set the label text.

eric ide

mercurial