Modified the sizing behavior of the quicksearch combo.

Thu, 11 Nov 2010 08:03:30 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Nov 2010 08:03:30 +0100
changeset 716
c62f08259b1a
parent 714
de66d01ab4d6
child 717
3ebae1fae98d

Modified the sizing behavior of the quicksearch combo.

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Wed Nov 10 19:38:18 2010 +0100
+++ b/ViewManager/ViewManager.py	Thu Nov 11 08:03:30 2010 +0100
@@ -2179,6 +2179,8 @@
         # just because of autocompletion enabled
         self.quickFindtextCombo.setAutoCompletion(False)
         self.quickFindtextCombo.setMinimumWidth(250)
+        self.quickFindtextCombo.setSizeAdjustPolicy(
+            QComboBox.AdjustToMinimumContentsLengthWithIcon)
         self.quickFindtextCombo.addItem("")
         self.quickFindtextCombo.setWhatsThis(QApplication.translate('ViewManager', 
                 """<p>Enter the searchtext directly into this field."""
@@ -5093,4 +5095,4 @@
             if aw is not None:
                 if aw.hasSelectedText():
                     txt = aw.selectedText()
-        return txt
\ No newline at end of file
+        return txt

eric ide

mercurial