Changed sze adjuyt policy of some combo boxes.

Thu, 04 Mar 2021 17:43:11 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 04 Mar 2021 17:43:11 +0100
changeset 8149
3fefc0c430f2
parent 8147
99c7da0ab9d2
child 8150
fc1ae39af8c9

Changed sze adjuyt policy of some combo boxes.

eric6/Debugger/EditBreakpointDialog.py file | annotate | diff | comparison | revisions
eric6/Debugger/StartDialog.py file | annotate | diff | comparison | revisions
eric6/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py file | annotate | diff | comparison | revisions
eric6/Project/DebuggerPropertiesDialog.py file | annotate | diff | comparison | revisions
eric6/PyUnit/UnittestDialog.py file | annotate | diff | comparison | revisions
eric6/UI/FindFileDialog.py file | annotate | diff | comparison | revisions
--- a/eric6/Debugger/EditBreakpointDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/Debugger/EditBreakpointDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -45,7 +45,7 @@
         
         self.filenamePicker.setMode(E5PathPickerModes.OpenFileMode)
         self.filenamePicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         
         self.okButton = self.buttonBox.button(
             QDialogButtonBox.StandardButton.Ok)
--- a/eric6/Debugger/StartDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/Debugger/StartDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -104,7 +104,7 @@
         self.ui.workdirPicker.setInsertPolicy(
             QComboBox.InsertPolicy.InsertAtTop)
         self.ui.workdirPicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         
         self.clearButton = self.ui.buttonBox.addButton(
             self.tr("Clear Histories"), QDialogButtonBox.ButtonRole.ActionRole)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -45,7 +45,7 @@
         self.vcsUrlPicker.setMode(E5PathPickerModes.DirectoryMode)
         self.vcsUrlPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop)
         self.vcsUrlPicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         self.vcsUrlPicker.setPathsList(vcsUrlHistory)
         self.vcsUrlClearHistoryButton.setIcon(
             UI.PixmapCache.getIcon("editDelete"))
--- a/eric6/Project/DebuggerPropertiesDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/Project/DebuggerPropertiesDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -49,7 +49,7 @@
         self.debugClientPicker.setInsertPolicy(
             QComboBox.InsertPolicy.InsertAtTop)
         self.debugClientPicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         self.debugClientPicker.setPathsList(debugClientsHistory)
         self.debugClientClearHistoryButton.setIcon(
             UI.PixmapCache.getIcon("editDelete"))
--- a/eric6/PyUnit/UnittestDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/PyUnit/UnittestDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -80,13 +80,13 @@
         self.testsuitePicker.setInsertPolicy(
             QComboBox.InsertPolicy.InsertAtTop)
         self.testsuitePicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         
         self.discoveryPicker.setMode(E5PathPickerModes.DirectoryMode)
         self.discoveryPicker.setInsertPolicy(
             QComboBox.InsertPolicy.InsertAtTop)
         self.discoveryPicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         
         self.discoverButton = self.buttonBox.addButton(
             self.tr("Discover"), QDialogButtonBox.ButtonRole.ActionRole)
--- a/eric6/UI/FindFileDialog.py	Wed Mar 03 19:37:33 2021 +0100
+++ b/eric6/UI/FindFileDialog.py	Thu Mar 04 17:43:11 2021 +0100
@@ -62,7 +62,7 @@
         self.dirPicker.setMode(E5PathPickerModes.DirectoryMode)
         self.dirPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop)
         self.dirPicker.setSizeAdjustPolicy(
-            QComboBox.SizeAdjustPolicy.AdjustToContents)
+            QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
         
         self.__replaceMode = replaceMode
         

eric ide

mercurial